From e9918bbea1528a74ad9cf76070f1fa94c45e8b17 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 12 Apr 2023 20:19:38 +0000 Subject: [PATCH] Bug 33506: Fix false index for series and keep selected index on scan index page The pull down with search options had the wrong index linked to the Series entry: su instead of se To test: * Go to advanced search in staff interface * Activate 'More options' * Check checkbox for scan indexes * Switch to author (especially when using Elasticsearch) * Search for C * Verify search results link to authors using c * Switch to series * Verify search results use 'su' for subject * Verify that search option pull down always jumps back to first entry: Any word * Apply patch * Verify the search results for series now use correct index se * Verify that coming from advanced search, the correct search option is selected * Verify that changing the search option also keeps the selection after searching Note: with Elasticsearch and default configuration author, title and series will give you results. Signed-off-by: David Nind Signed-off-by: Nick Clemens --- .../prog/en/modules/catalogue/results.tt | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 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 53ca58dbae..0ab43173bd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -380,30 +380,31 @@ - + -- 2.30.2