From e391b392d707e98416035cac44228d892816b973 Mon Sep 17 00:00:00 2001 From: Pedro Amorim <pedro.amorim@ptfs-europe.com> Date: Thu, 16 Jan 2025 13:54:27 +0000 Subject: [PATCH] Bug 35604: (QA follow-up): Prevent more than one 'op' in form This may happen if for example getting to the automatic backend screen from the ILL availability screen. 'op' is already being added, skip it if already exists in ported metadata --- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index 00d7708e8e5..7e605fea542 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt @@ -954,7 +954,7 @@ <fieldset class="action"> [% FOREACH key IN whole.keys %] [% value = whole.$key %] - [% IF key != 'method' && key != 'custom_key' && key != 'custom_value' %] + [% IF key != 'op' && key != 'method' && key != 'custom_key' && key != 'custom_value' %] <input type="hidden" name="[% key | html %]" value="[% value | html %]"> [% END %] [% END %] -- 2.39.5