]> git.koha-community.org Git - koha.git/commit
Bug 28847: Move SearchLimitLibrary code to QueryBuilder Modules
authorNick Clemens <nick@bywatersolutions.com>
Thu, 12 Aug 2021 11:02:39 +0000 (11:02 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Mon, 22 Nov 2021 18:37:19 +0000 (13:37 -0500)
commitb8608c840a3b547e4402e2fa80a8080daa06df7c
tree98967b6da44a3f8067c876506a0316cae440773a
parent53127abc0377bc3f04364c4183baacef3d4c95c4
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: Kyle M Hall <kyle@bywatersolutions.com>
C4/Search.pm
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
catalogue/search.pl
opac/opac-search.pl