]> git.koha-community.org Git - koha.git/commit
Bug 30077: (follow-up) retain branch selection
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 5 Apr 2022 23:04:33 +0000 (23:04 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 1 Aug 2022 17:13:13 +0000 (14:13 -0300)
commit593614456c1c25ddb5ebd34d511a126cf659bc49
tree637714c233e5935105a28991ce958d2bec48c30a
parent53e9309772206ac947d94eefd85a3e1fdf0cfdef
Bug 30077: (follow-up) retain branch selection

To test:
1. Apply patch, updatedatabase, restart_all
2. Search for the system pref 'IntranetAddMastheadLibraryPulldown'
3. Set it to 'Show'.
4. Go to any page that contains header search box and click on 'Search
   the catalog'.
5. To the left of the search bar you should see a dropdown for branches.
6. This should be defaulted to 'All libraries'.
7. In the dropdown choose any branch and do a search and make sure it is
   correctly limiting to that branch.
8. Try changing to a different branch and doing another search. It
   should correcrly limit to that branch and retain that branch in the
   dropdown, just like the OPAC.
9. Try selecting 'All libraries' from the top of the dropdown and make
   sure it is correctly searching all branches.
10. Turn on the system pref 'IntranetCatalogSearchPulldown' and make
    sure it looks nice with both of those dropdowns and functions when
    you use limiters from both dropdowns.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
catalogue/search.pl
koha-tmpl/intranet-tmpl/prog/en/includes/catalogue-search-box.inc