From adbbbb1d8c8e239d8bfa7e9cac90db9326ab1feb Mon Sep 17 00:00:00 2001 From: Phil Ringnalda Date: Mon, 23 Sep 2024 19:40:32 -0700 Subject: [PATCH] Bug 37728: (follow-up) Tell the test that opac-illrequests.tt has an op xt/find-missing-op-in-forms.t wants to see name="op" value="cud-..." in any form with method="post", but opac-illrequests.tt inserts its op input by passing around whole and unpack and repacking whole.keys which includes the op. We just need to tell the test that it really exists. At first, I thought of this approach as a joke, faking out the test, but when I tried to be more responsible and put a whole Signed-off-by: Pedro Amorim Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt index 0e6b3d5932..5fc3510940 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt @@ -258,6 +258,7 @@

Interlibrary loan item availability

+ [%# This will get its name="op" value="cud-" from the loop over whole.keys below %] [% INCLUDE 'csrf-token.inc' %]

Displaying availability results

[% FOREACH key IN whole.keys %] @@ -291,6 +292,7 @@
[% INCLUDE messages %] + [%# This will get its name="op" value="cud-" from the loop over whole.keys below %] [% INCLUDE 'csrf-token.inc' %]
[% disclaimer.text | $raw %] -- 2.39.5