);
$item_info->{nomod} = !$patron->can_edit_items_from( $item->homebranch );
$item_info->{waiting_holds} = $item->{object}->holds({ found => 'W', item_level_hold => { '!=' => 0 } })->count;
$item_info->{waiting_holds} = $item->{object}->holds({ found => [ 'W', 'T' ], item_level_hold => { '!=' => 0 } })->count;
push @item_data, $item_info;
}
# find if any of these lost items have waiting holds
my @waitinglostitems;
foreach my $lostitem ( @lostitems ){
if ( $lostitem->holds({ found => 'W', item_level_hold => 1 })->count > 0 ){
if ( $lostitem->holds({ found => [ 'W', 'T' ], item_level_hold => 1 })->count > 0 ){
push( @waitinglostitems, $lostitem );
-