]> 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 Cormack <chrisc@catalyst.net.nz>
Tue, 29 Mar 2011 23:37:50 +0000 (12:37 +1300)
commit091d3100169a12e9498f6d58c8b61ac01a5a5db6
tree9b85fcb3771fe78a2a0c611f62556358a841f2a8
parent412966eff0016c69e5763197f1542e88c74580a1
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>
catalogue/search.pl
koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl
opac/opac-search.pl