@@ -, +, @@ --- C4/Search.pm | 2 ++ 1 file changed, 2 insertions(+) --- a/C4/Search.pm +++ a/C4/Search.pm @@ -2126,6 +2126,8 @@ sub searchResults { # items not on loan, but still unavailable ( lost, withdrawn, damaged ) else { + $item->{notforloan}=1 if !$item->{notforloan} && $itemtypes{ C4::Context->preference("item-level_itypes")? $item->{itype}: $oldbiblio->{itemtype} }->{notforloan}; + # item is on order if ( $item->{notforloan} < 0 ) { $ordered_count++; --