[Koha-bugs] [Bug 31575] Missing warning for holds where AllowHoldPolicyOverride can be used to force a hold to be placed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 18 22:35:46 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31575

David Nind <david at davidnind.com> changed:

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

--- Comment #2 from David Nind <david at davidnind.com> ---
Created attachment 140737
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140737&action=edit
Bug 31575 - Missing warning for holds where AllowHoldPolicyOverride can be used
to force a hold to be placed

If some holds are overridable, and AllowHoldPolicyOverride is enabled, Koha
used to "flag" each holdable item to let librarians know the hold could not
normally be placed. In 22.05 up to current master as of this writing, no
warning is displayed.

Test Plan:
1) Set one circ rule to allow 0 holds
2) For Library A, set "Hold pickup library match" to "item's hold group"
3) Enable AllowHoldPolicyOverride
4) Set ReservesControlBranch to "item's home branch"
5) Create a record with an item for Library A, one for Library B, and one for
Library C
   This should create a scenario where A's item cannot be held, and B and C's
items must be overridden
6) Note you get the "Cannot place hold" but can place those holds anyway
without a "warning" sign
7) Apply this patch
8) Restart all the things!
9) Reload the page, you should now see the warning icons!

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list