]> git.koha-community.org Git - koha.git/commit
Fix for Bug 4945 - Patron search is limited by default to the currently logged-in...
authorOwen Leonard <oleonard@myacpl.org>
Tue, 4 Jan 2011 14:04:41 +0000 (09:04 -0500)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Tue, 11 Jan 2011 14:40:47 +0000 (09:40 -0500)
commit1dbe1684c61d796a66e007a16c083cd36fe43742
treec60a195d03162dc2a76d4f54a420e5af8daa6270
parent64831933b2e6af3ba37ea250ca17d0a15eecd884
Fix for Bug 4945 - Patron search is limited by default to the currently logged-in library

I couldn't figure out how (or whether) GetBranchesLoop could be
convinced to return a list of branches without selecting one, so
I swapped GetBranchesLoop with GetBranches. This will preselect
a branch only if a branch has been submitted as part of a query.

This does NOT preselect the correct branch when IndependantBranches
is turned on.

I also added a template variable which is true if a query has
been submitted with a branch or a category so that the extra
form fields can be displayed, reminding the user that they
added limiters to their query.

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

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
members/member.pl
members/members-home.pl