From ad4ce38551bbde5eae9abf541d2779cd0d111790 Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Tue, 15 Oct 2024 16:50:03 -0400 Subject: [PATCH] Bug 38112: (QA follow-up) Hide description when search is cleared Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9be9a217b9..d1aeee7d7c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -773,7 +773,7 @@ patron_search_form.find(".clear_search").on("click",function(e){ e.preventDefault(); clearFilters(); - patron_search_form.find(".searchpattern").parent().hide(); + parent_block.find(".searchpattern").parent().hide(); }); if ( !defer_loading ) { -- 2.39.5