[Koha-bugs] [Bug 23233] AllowItemsOnHoldCheckout is misnamed and should only work for for SIP-based checkouts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 25 15:57:50 CET 2019


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #24 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I do not understand the following change:

+++ b/Koha/Item.pm
@@ -382,7 +382,7 @@ This method checks the tmp_holdsqueue to see if this item
has been selected for
 sub has_pending_hold {
     my ( $self ) = @_;
     my $pending_hold = $self->_result->tmp_holdsqueues;
-    return !C4::Context->preference('AllowItemsOnHoldCheckout') &&
$pending_hold->count ? 1: 0;
+    return $pending_hold->count ? 1: 0;
 }


I also do not understand what it meant originally.

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


More information about the Koha-bugs mailing list