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

(-)a/circ/pendingreserves.pl (-2 / +4 lines)
Lines 196-202 my @biblionumbers = $holds->get_column('biblionumber'); Link Here
196
my $all_items;
196
my $all_items;
197
if ( $holds->count ) {
197
if ( $holds->count ) {
198
    foreach my $item ( $holds->get_items_that_can_fill->as_list ) {
198
    foreach my $item ( $holds->get_items_that_can_fill->as_list ) {
199
        push @{ $all_items->{ $item->biblionumber } }, $item;
199
        my $pending_recalls = Koha::Recalls->search({ item_id => $item->id, status => [ 'waiting', 'in_transit' ] })->count;
200
        unless ( $pending_recalls->count > 0 ) {
201
            push @{ $all_items->{ $item->biblionumber } }, $item;
202
        }
200
    }
203
    }
201
}
204
}
202
205
203
- 

Return to bug 33364