[Koha-bugs] [Bug 6837] When AllowOnShelfHolds is OFF then holds on records with available items should not be possible

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 8 20:05:53 CET 2013


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

Barry Cannon <barry at oslo.ie> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barry at oslo.ie

--- Comment #2 from Barry Cannon <barry at oslo.ie> ---
Created attachment 22847
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22847&action=edit
Patch to resolve AllowOnShelfHolds conflict on available items.

The 'AllowOnShelfHolds' seems to work to a certain extent. However, when
enabled there was an least one case when Koha would allow a hold to be placed
on an item that is on the shelf. This seems to stem from the item-level hold
feature from the Staff client. A simple example with one bib and two attached
items: if both items are on the shelf then the 'AllowOnShelfHolds' restriction
would work, disabling the ability to place a hold. However, if one of these
items was "checked out" the system would allow a hold to be placed based on the
status of the one "checked-out" item. Some libraries may want to force the
disabling of holds, via the OPAC, if ANY item is on the shelf.

This patch adds a new SystemPref called 'PreventOPACHoldsAnyAvailableItem'.
When this is enabled any item that Koha considers on the shelf (excluding
withdrawn, lost etc) will be disabled from placing holds at the bib level.
When 'PreventOPACHoldsAnyAvailableItem' is off the the original
'AllowOnShelfHolds' preference will enforce the restrictions, as they were.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list