]> git.koha-community.org Git - koha.git/commit
Bug 20838: (bug 16735 follow-up) Fix search by group of libraries
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 May 2018 17:41:14 +0000 (14:41 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 4 Jun 2018 17:40:36 +0000 (13:40 -0400)
commite5896f56837bdea7a98e7f5ac4c278e7d8fe76f3
tree9c594b9f01ec7f64c2c7d32cfec5340dd1daba09
parent73b0542354a415bfa4c250194f78c145c1088661
Bug 20838: (bug 16735 follow-up) Fix search by group of libraries

In the last patches of bug 16735, we completely broke the feature!

The limit is using library_groups.id instead of branches.branchcode.

Test plan:
Create a group of library with the search feature
Search (OPAC and staff interfaces) using this limit

=> Without this patch you will see that the generated search query does
not contain branchcodes
=> With this patch applied you will see the branchcodes

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
catalogue/search.pl
opac/opac-search.pl