Bug 21495: Regression in hold override functionality
The changes caused by the patches for bug 11512 have broken existing workflows for many libraries and are widely considered to be a bad move. We should revert this behavior. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Rhonda Kuiper <kuiper@roundrocktexas.gov> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
e33f125384
commit
3987046624
2 changed files with 2 additions and 2 deletions
|
@ -582,7 +582,7 @@ Circulation:
|
|||
choices:
|
||||
yes: Allow
|
||||
no: "Don't allow"
|
||||
- staff to force addition of holds even if the patron already has the maximum number of holds allowed.
|
||||
- staff to override hold policies when placing holds.
|
||||
-
|
||||
- pref: AllowHoldsOnDamagedItems
|
||||
choices:
|
||||
|
|
|
@ -490,7 +490,7 @@ foreach my $biblionumber (@biblionumbers) {
|
|||
|
||||
push( @available_itemtypes, $item->{itype} );
|
||||
}
|
||||
elsif ( $can_item_be_reserved->{status} eq 'tooManyReserves' && C4::Context->preference('AllowHoldPolicyOverride') ) {
|
||||
elsif ( C4::Context->preference('AllowHoldPolicyOverride') ) {
|
||||
# If AllowHoldPolicyOverride is set, it should override EVERY restriction, not just branch item rules
|
||||
$item->{override} = 1;
|
||||
$num_override++;
|
||||
|
|
Loading…
Reference in a new issue