[Koha-bugs] [Bug 10589] Override OpacHiddenItems based on Patron Category

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 24 20:23:25 CEST 2013


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

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

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

--- Comment #3 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 19931
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19931&action=edit
Uses patron category to keep visible some things hidden by OPACHiddenItems

This patch will:
1) Add two system preferences: PatronSingleBranch and PatronEveryBranch.
2) Items which would normally be hidden by OpacHiddenItems will be visible if:
a) The patron's category code matches the PatronSingleBranch patron category
code AND the home branch of the item is the same as the home branch of the
patron.
OR
b) The patron's category code matches the PatronEveryBranch patron category
code.

The two system preferences default to PTSB and PTEB which are not added to the
list of possible patron categories. This means OpacHiddenItems will continue to
function as is normally. Having them as system preferences means the patron
category code is not hard coded and can be changed.

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


More information about the Koha-bugs mailing list