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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 3 04:32:19 CET 2013


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

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #23038|0                           |1
        is obsolete|                            |

--- Comment #21 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 23250
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23250&action=edit
Bug 9055: Mandumah.com's multiple branch search, multiple branch security mod

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. The three new preferences
to set are:
    - OPAC: SearchableBranches
    - Patrons: multibranch
    - Searching: MultiBranchSelect

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


More information about the Koha-bugs mailing list