[Koha-bugs] [Bug 31576] [21.11] Cannot place hold even when AllowHoldPolicyOverride should allow it

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 27 09:54:24 CET 2023


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

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

--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 145718
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145718&action=edit
Bug 31576: Cannot place hold even when AllowHoldPolicyOverride should allow it

This bug appears in Koha 21.11 only ( behavior changes to bug 31575 with 22.05
and later ). If only some item holds can be forced, but others cannot ( because
they have to pickup locations ), the place holds button remains disabled even
though the hold can be placed.

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 cannot place the hold because the button is disabled.
7) Apply this patch
8) Restart all the things!
9) Reload the page, the place hold button should now be enabled!

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

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Only checked the code, looks good to me.

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


More information about the Koha-bugs mailing list