X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=C4%2FSearch.pm;h=18d690502ee1fece8189ea5f20bd5b71f733d6b3;hb=2a8fe16752e12505c55c9f8c08afe97afe460f7b;hp=f090fd8e63de59ceb1d1dbb7084880175ade9f74;hpb=1f66e9fa691f9cfd705375450a21c623e0155f52;p=koha.git diff --git a/C4/Search.pm b/C4/Search.pm index f090fd8e63..18d690502e 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1756,10 +1756,10 @@ sub searchResults { } } } # notforloan, item level and biblioitem level - + if ($items_count > 0) { next if $is_opac && $hideatopac_count >= $items_count; next if $hidelostitems && $itemlost_count >= $items_count; - + } my ( $availableitemscount, $onloanitemscount, $otheritemscount ); for my $key ( sort keys %$onloan_items ) { (++$onloanitemscount > $maxitems) and last;