]> git.koha-community.org Git - koha.git/commit
Bug 5390: OPAC loses library selection
authorJared Camins-Esakov <jcamins@bywatersolutions.com>
Mon, 21 Mar 2011 21:36:20 +0000 (16:36 -0500)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 22 Mar 2011 01:59:16 +0000 (14:59 +1300)
commit0a1f05a5a2cbe0bb5665c824c0cbcf1a0851a6fa
tree489741f186bf26f618d315a348327178fb422384
parentc5ba37bb9ab4d315077ed79d078f11de702e9dc2
Bug 5390: OPAC loses library selection

This patch ensures that the OPAC library selection masthead will always default
to the branch that is currently being searched. This only applies to systems
with multiple branches and OpacAddMastheadLibraryPulldown turned on.

To test: do a search in the OPAC, limiting by branch. The search results will
still have that branch selected in the masthead dropdown.

This patch also fixes bug 5852 and bug 3778.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Auth.pm
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tmpl
opac/opac-search.pl