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 764-770 if ( C4::Context->preference('RevertLostBibLevelHolds') ){ Link Here
764
    # find if any of these lost items have waiting holds
764
    # find if any of these lost items have waiting holds
765
    my @waitinglostitems;
765
    my @waitinglostitems;
766
    foreach my $lostitem ( @lostitems ){
766
    foreach my $lostitem ( @lostitems ){
767
        if ( $lostitem->holds({ found => 'W', item_level_hold => 1 })->count > 0 ){
767
        if ( $lostitem->holds({ found => [ 'W', 'T' ], item_level_hold => 1 })->count > 0 ){
768
            push( @waitinglostitems, $lostitem );
768
            push( @waitinglostitems, $lostitem );
769
        }
769
        }
770
    }
770
    }
771
- 

Return to bug 20844