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

M. Tompsett <mtomp...@hotmail.com> changed:

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

--- Comment #3 from M. Tompsett <mtomp...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to