]> git.koha-community.org Git - koha.git/commit
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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 13 Sep 2013 18:22:35 +0000 (15:22 -0300)
commitf01248ae55beffae61f7fed36cbe046b65b96116
treec4a6b660fc852c3e032e6e391011aa493a245377
parent84873c2a6b62fce594bdd8c954ed2d6880903dfb
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>
circ/ysearch.pl