Merge remote-tracking branch 'origin/new/bug_6488'

This commit is contained in:
Paul Poulain 2012-02-20 16:28:14 +01:00
commit 803095a798
1 changed files with 2 additions and 2 deletions

View File

@ -1758,10 +1758,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;