Bug 31271: Preselect previous search index
authorNick Clemens <nick@bywatersolutions.com>
Thu, 3 Nov 2022 12:29:59 +0000 (12:29 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 9 Nov 2022 13:04:48 +0000 (10:04 -0300)
commit0106f3957d54d33cfbfdccdb0420f898e09084a1
tree6dda4d89c146c6d2ed54830af41cbf2437766760
parent2621f28376b0c82205f3faf5e06c1f788e6c9b2a
Bug 31271: Preselect previous search index

This patch passes the constructed value of the preselect to search_indexes.inc

To test:
1 - Perform an advanced search, making sure to select different indexes
2 - Click 'Edit search' on results page
3 - Confirm index selections are preselected
4 - Enable  IntranetCatalogSearchPulldown
5 - Do a search form the top bar using an index
6 - Confirm 'Edit search' correctly popluates the chosen index

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt