From 62669ff021de135a8e5a6206451b3f4dd43f495b Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 13 Mar 2024 15:41:25 +0000 Subject: [PATCH] Bug 36302: Revert back to POST Pass the csrf token and 'cud-noop' After having discussed with Joubu and multiple failed attempts at fixing the issue AND restoring previous behavior, this is the fix we agreed on. This will change URL but not fiddle with browser history. Works the same (and as expected) in both Chrome and Firefox Test plan, ktd: 1) Search henry on the top search bar, notice 1 result is auto suggested 2) Ignore the auto-complete, press 'Enter' instead 3) Notice no results are returned. 4) Apply patch. Repeat. 5) Notice you get redirected to the single result of henry 6) Press the browser 'back' button and notice it works as expected (both Chrome+Firefox) 7) Visit patrons home directly: http://localhost:8081/cgi-bin/koha/members/members-home.pl 8) Notice no search is performed --- .../intranet-tmpl/prog/en/includes/member-search-box.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc index a4ea643d900..a9bf4b8760a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc @@ -10,8 +10,10 @@ [% ELSE %]