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->holds({ found => [ 'W', 'T' ], item_level_hold => { '!=' => 0 } })->count; |
251 |
|
|
|
252 |
if ( C4::Context->preference('RevertLostBibLevelHolds') ) { |
253 |
$item_info->{waiting_holds} = |
254 |
$item->holds( { found => [ 'W', 'T' ], item_level_hold => { '!=' => 0 } } )->count; |
255 |
} |
252 |
|
256 |
|
253 |
push @item_data, $item_info; |
257 |
push @item_data, $item_info; |
254 |
} |
258 |
} |