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

--- Comment #2 from Josef Moravec <[email protected]> ---
Comment on attachment 67124
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67124
Bug 19302: Send koha::objects to C4::Reserves::IsAvailableForItemLevelRequest

Review of attachment 67124:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=19302&attachment=67124)
-----------------------------------------------------------------

::: C4/Circulation.pm
@@ +2665,5 @@
> +                next if IsItemOnHoldAndFound( $itemnumber );
> +                for my $borrowernumber (@borrowernumbers) {
> +                    my $patron = $patrons{$borrowernumber} //= 
> Koha::Patrons->find( $borrowernumber );
> +                    next unless IsAvailableForItemLevelRequest($item, 
> $patron);
> +                    next unless CanItemBeReserved($b,$itemnumber);

Shouldn't $b be $borrowernumber ?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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