[Koha-bugs] [Bug 9055] New: Mandumah.com's multiple branch search, multiple branch security mod

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 11 05:24:13 CET 2012


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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 9055
                CC: dpavlin at rot13.org
          Assignee: gmcharlt at gmail.com
           Summary: Mandumah.com's multiple branch search, multiple branch
                    security mod
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: wrobertson1981 at gmail.com
          Hardware: All
            Status: NEW
           Version: master
         Component: Authentication
           Product: Koha

This mod creates the ability to search multiple branches using a jquery
dropdown, instead of just one or all branches.

This mod also replaces SearchMyLibraryFirst preference, giving three options.
All = no change from standard koha setup.
Preferhome = Prefers patron's home library (others may be searched), koha's
current functionality of SearchMyLibraryFirst.
Securehome = Only patrons' home library and other assigned libraries (if any)
can be searched.
With multiple instances of branchcode inside Borrower extended attributes, a
patron can be given multiple branches to search within. The Securehome concept
also includes the branch given in the apache enviroment of the host/virtualhost
contacted, from OPAC_SEARCH_LIMIT = "branch: blah"

This patch not only filters the GetBranches results, filtering the patrons
ability to see other branches other than the ones given, it also filters the
branches given in the limit branch: search options, so that even if a user
manually inputted a branch, they are still only getting what they are ment to
get.

This enhancement would be useful for big libraries, in which its members would
be restricted to searching and borrowing from a subset of its books. 

Overall, the multiple branch search dropdown should prove useful, even with
unsecure installations. What is not included yet, is a method to decide what
branches to show to a guest, not-logged-in, user.

To use this patch, you need to create a branchcode Patron Extended Attribute,
and have the patron your working with, have one or more branchcode extended
attributes.
So, total branches that patron will get:
OPAC_SEARCH_LIMIT branch + Patron record home branch + whatever branchcodes you
put into Borrower_attributes.
You also need to set the preferences, 
In opac, set SearchableBranches
In Patrons, set multibranch.
In Searching, set MultiBranchSelect

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list