Bug 28847: Move SearchLimitLibrary code to QueryBuilder Modules
authorNick Clemens <nick@bywatersolutions.com>
Thu, 12 Aug 2021 11:02:39 +0000 (11:02 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Sep 2021 12:04:48 +0000 (14:04 +0200)
commit777c519c5a8fec958a7363aa02619f1fb5ad7d97
tree33d5f5d134c91baabf528a90f53109fd6b5a5e09
parent01bb1f278747335a80aa69969ca9a91525b14078
Bug 28847: Move SearchLimitLibrary code to QueryBuilder Modules

This patch removes the code from the search scripts into QueryBuilder
modules.

To test:
1 - Have a library group defined as a search group for both staff and opac
2 - Search on staff client and opac with that group limit and a single branch limit
3 - Note your results/counts
4 - Note the visuals of the search description
5 - Apply patch
6 - Repeat searches
7 - All should work as before

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Search.pm
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
catalogue/search.pl
opac/opac-search.pl