]> 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 Cormack <chrisc@catalyst.net.nz>
Tue, 11 Jan 2011 02:35:09 +0000 (15:35 +1300)
commit98efac4c0a3c6dfd857901ce6c639f93bcda8b76
tree2aefc01cd608d89754149cf697f0c083559a6932
parent15334926adf722083f03553eed575d056e907ad1
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>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
members/member.pl
members/members-home.pl