From 913052d23ca5a99791363b3ea964a6b80fc423b1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 8 Oct 2024 10:43:41 +0200 Subject: [PATCH] Bug 38112: Restore description of patrons search Certainly caused by bug 35329. We used to display a description of the patrons search, but it is no longer displayed. Test plan: On the main patrons search select some values in the form on the left and search. You should see a "Patrons found for: " h3 that will be displayed and is supposed to describe the current search. I don't think it's working very well to be honest, maybe a candidate for candidate, especially if nobody else noticed its disappearance. Signed-off-by: Phil Ringnalda Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index 5320efe096..9be9a217b9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -847,8 +847,7 @@ searched += paron_search_form.find("select[name='sort2_filter']").val(); } } - patron_search_form.find(".searchpattern").text(searched); - patron_search_form.find(".searchpattern").parent().show(); + parent_block.find(".searchpattern").text(searched).parent().show(); } function filter() { -- 2.39.5