Bug 5904: make patron search autocompletion respect IndependentBranches
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 27 Jun 2013 13:33:46 +0000 (15:33 +0200)
committerBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fri, 11 Oct 2013 19:20:48 +0000 (16:20 -0300)
commit8b987317d9f886ebe11cb05f4f3884929edffe53
tree89155512df47a01391c69d7a977a0b975a436ca9
parent6a84e8d4120458b5688299e601c2f637f79c7f07
Bug 5904: make patron search autocompletion respect IndependentBranches

Test plan:
- Add a staff user foo in a library A
- Add a staff user bar in a library B
- log in as foo and try to search 'bar'
- Switch on (Prevent) the syspref IndependentBranches
- the search returns no result
- log in as a superlibrarian
- Check that you are allowed to search all patrons.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passes koha-qa.pl, works as advertised.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 6b72f249082fc6be8811c3dacec15648f7c5ccd9)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit f01248ae55beffae61f7fed36cbe046b65b96116)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit f01248ae55beffae61f7fed36cbe046b65b96116)
circ/ysearch.pl