@@ -, +, @@ --- catalogue/moredetail.pl | 2 +- cataloguing/additem.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/catalogue/moredetail.pl +++ a/catalogue/moredetail.pl @@ -245,7 +245,7 @@ foreach my $item (@items){ $item->{patron} = $curr_borrower; } - $item->{waiting_holds} = $item->{object}->holds({ found => 'W', item_level_hold => { '!=' => 0 } })->count; + $item->{waiting_holds} = $item->{object}->holds({ found => [ 'W', 'T' ], item_level_hold => { '!=' => 0 } })->count; } my $mss = Koha::MarcSubfieldStructures->search({ frameworkcode => $fw, kohafield => 'items.itemlost', authorised_value => [ -and => {'!=' => undef }, {'!=' => ''}] }); --- a/cataloguing/additem.pl +++ a/cataloguing/additem.pl @@ -1000,7 +1000,7 @@ if ( C4::Context->preference('RevertLostBibLevelHolds') ){ # 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 ); } } --