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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |ommunity.org

--- Comment #24 from Jonathan Druart <[email protected]> 
---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to