]> git.koha-community.org Git - koha.git/commit
Bug 3629 : search limit by group is not OK
authorPaul POULAIN <paul.poulain@biblibre.com>
Sat, 26 Mar 2011 22:24:19 +0000 (18:24 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 5 Apr 2011 00:03:48 +0000 (20:03 -0400)
commita4d48140b6e10a4a66fcf1630eb2969af95104b1
tree8f5081d286cbd26bc6257ae2403acec790200f63
parent6fa25c5bac6e71c3eae6e1a104806ef59494a2e9
Bug 3629 : search limit by group is not OK

MT4491 : limitation by library group

- the group list was not displayed in OPAC (even if everything else was here
- the group limit was not working due to a missing ()

author=jean et group=droit" resulted in:
author=jean and branch=b1 or branch=b2 or branch=b3
that is wrong (executed from left to right)

the fix add () to have :
author=jean and (branch=b1 or branch=b2 or branch=b3)
that is OK

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 091d3100169a12e9498f6d58c8b61ac01a5a5db6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
catalogue/search.pl
koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl
opac/opac-search.pl