From f0054fec859b341b330f3b5caaea4a5d4e272079 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 26 Nov 2019 13:19:28 +0000 Subject: [PATCH] Bug 24120: URI filter search terms in sort dropdowns To test: 1 - Search for C++ 2 - Sort your results 3 - Note search is now for "C " 4 - Apply patch 5 - Search for C++ 6 - Reorder results 7 - Still searching for C++ Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize (cherry picked from commit 59ea9b3cc27c27d16880fc238f4a173a9e38b479) Signed-off-by: Hayley Mapley (cherry picked from commit c9cd551d5454b78bd01ac29762962f487fb8bd60) --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 86fd6851dd..fcfd0c33f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -150,10 +150,10 @@ [% IF ( searchdesc ) %] [% BLOCK sort_search_query ~%] [%~ FOREACH QUERY_INPUT IN QUERY_INPUTS ~%] - &[% QUERY_INPUT.input_name | html %]=[% QUERY_INPUT.input_value | html %] + &[% QUERY_INPUT.input_name | html %]=[% QUERY_INPUT.input_value | uri %] [%~ END ~%] [%~ FOREACH LIMIT_INPUT IN LIMIT_INPUTS ~%] - &[% LIMIT_INPUT.input_name | html %]=[% LIMIT_INPUT.input_value | html %] + &[% LIMIT_INPUT.input_name | html %]=[% LIMIT_INPUT.input_value | uri %] [%~ END ~%] [%~ END %] [% END %] -- 2.39.5