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)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 4 Sep 2013 16:42:38 +0000 (16:42 +0000)
commit6b72f249082fc6be8811c3dacec15648f7c5ccd9
tree0864eeec564efde60cd706a19617c7bae47cb6f5
parenta1a4ff2bef3c94bafbf55b5995bc92bb46cdfa02
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>
circ/ysearch.pl