From e7baa9b1e4aa9ebfd0ebdb71f91d6244d18f4034 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: Lucas Gass --- 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 10d0f60ed8..c8533f3d33 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -158,10 +158,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