From 2a7f4830f0ccc75b284c98a7a69b684d6979a391 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 15 Mar 2024 18:17:29 +0000 Subject: [PATCH] Bug 36334: (follow-up) Restore selection of previous values in sidebar Before and after the first patch the values for category and library were not populated To test: 1 - With nothing applied search in the top bar, clicking the 'settings' button 2 - Select a search field, search type, category, and library 3 - Perform search, note only search field and search type are populated 4 - Apply first path, repeat, same result 5 - Apply this patch, repeat 6 - Confirm all four fields now populate in sidebar Signed-off-by: Nick Clemens --- .../intranet-tmpl/prog/en/includes/patron-search.inc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 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 c481838b213..a07f9ab0be1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -52,7 +52,11 @@ [% END %] [% FOREACH l IN libraries %] - + [% IF (l.branchcode == branchcode_filter) %] + + [% ELSE %] + + [% END %] [% END %] @@ -64,7 +68,11 @@ -- 2.30.2