[Koha-bugs] [Bug 4945] Patron search is limited by default to the currently logged-in library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 20 17:50:30 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4945

--- Comment #4 from Owen Leonard <oleonard at myacpl.org> 2010-08-20 15:50:29 UTC ---
Created attachment 2558
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2558
Proposed fix

This is a high-priority bug for my library, so I took a stab at fixing this.
Comments and corrections are welcome.

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.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list