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

(-)a/catalogue/moredetail.pl (-1 / +1 lines)
Lines 248-254 foreach my $item (@items){ Link Here
248
    );
248
    );
249
249
250
    $item_info->{nomod} = !$patron->can_edit_items_from( $item->homebranch );
250
    $item_info->{nomod} = !$patron->can_edit_items_from( $item->homebranch );
251
    $item_info->{waiting_holds} = $item->{object}->holds({ found => 'W', item_level_hold => { '!=' => 0 } })->count;
251
    $item_info->{waiting_holds} = $item->{object}->holds({ found => [ 'W', 'T' ], item_level_hold => { '!=' => 0 } })->count;
252
252
253
    push @item_data, $item_info;
253
    push @item_data, $item_info;
254
}
254
}
(-)a/cataloguing/additem.pl (-2 / +1 lines)
Lines 754-760 if ( C4::Context->preference('RevertLostBibLevelHolds') ){ Link Here
754
    # find if any of these lost items have waiting holds
754
    # find if any of these lost items have waiting holds
755
    my @waitinglostitems;
755
    my @waitinglostitems;
756
    foreach my $lostitem ( @lostitems ){
756
    foreach my $lostitem ( @lostitems ){
757
        if ( $lostitem->holds({ found => 'W', item_level_hold => 1 })->count > 0 ){
757
        if ( $lostitem->holds({ found => [ 'W', 'T' ], item_level_hold => 1 })->count > 0 ){
758
            push( @waitinglostitems, $lostitem );
758
            push( @waitinglostitems, $lostitem );
759
        }
759
        }
760
    }
760
    }
761
- 

Return to bug 20844