From 927b488ead0a0f880fa7fa677aa3861010320cf2 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 6 May 2022 12:40:00 +0000 Subject: [PATCH] Bug 27546: (follow-up) Avoid index clash Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc | 6 +++++- .../intranet-tmpl/prog/en/modules/catalogue/results.tt | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc index d4ee49148b..4fab8b5caa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc @@ -1,5 +1,9 @@ [% USE Koha %] - +[% ELSE %] + @@ -774,7 +774,7 @@ $("#refine_search").on('submit',function(e){ e.preventDefault(); - var index = $("#refine_search #idx").val() || ""; + var index = $("#refine_search #refiner_idx").val() || ""; if( index){index += ":";} window.location.href = "/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %]&[% limit_cgi | $raw %]&[% sort_cgi | $raw %]&limit="+index+escape_str( $("#refiner").val() ); }); -- 2.39.5