View | Details | Raw Unified | Return to bug 27065
Collapse All | Expand All

(-)a/C4/Circulation.pm (-2 / +1 lines)
Lines 2947-2953 sub CanBookBeRenewed { Link Here
2947
                for my $borrowernumber (@borrowernumbers) {
2947
                for my $borrowernumber (@borrowernumbers) {
2948
                    my $patron = $patrons{$borrowernumber} //= Koha::Patrons->find( $borrowernumber );
2948
                    my $patron = $patrons{$borrowernumber} //= Koha::Patrons->find( $borrowernumber );
2949
                    next unless IsAvailableForItemLevelRequest($item, $patron);
2949
                    next unless IsAvailableForItemLevelRequest($item, $patron);
2950
                    next unless CanItemBeReserved($borrowernumber,$itemnumber);
2950
                    next unless CanItemBeReserved($borrowernumber,$itemnumber)->{status} eq 'OK';
2951
2951
2952
                    push @reservable, $itemnumber;
2952
                    push @reservable, $itemnumber;
2953
                    if (@reservable >= @borrowernumbers) {
2953
                    if (@reservable >= @borrowernumbers) {
2954
- 

Return to bug 27065