]> 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 Nighswonger <chris.nighswonger@gmail.com>
Tue, 22 Mar 2011 22:07:04 +0000 (18:07 -0400)
commit62a1cd8159e5077d302c6965db187c21dc534225
tree994848eac1346f06c005bb8c8e33d5fbafbe50e6
parent2124dc88ef51d4e3f23fceab3e302500c93a0a72
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>
(cherry picked from commit 0a1f05a5a2cbe0bb5665c824c0cbcf1a0851a6fa)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
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