| Lines 1766-1775
          sub searchResults {
      
      
        Link Here | 
        
          | 1766 |                 } | 1766 |                 } | 
        
          | 1767 |             } | 1767 |             } | 
        
          | 1768 |         }    # notforloan, item level and biblioitem level | 1768 |         }    # notforloan, item level and biblioitem level | 
          
            
              | 1769 | 	if ($items_count > 0) { | 1769 |  | 
            
              | 1770 |         next if $is_opac       && $hideatopac_count >= $items_count; |  |  | 
            
              | 1771 |         next if $hidelostitems && $itemlost_count   >= $items_count; | 
            
              | 1772 | 	} | 
        
          | 1773 |         my ( $availableitemscount, $onloanitemscount, $otheritemscount ); | 1770 |         my ( $availableitemscount, $onloanitemscount, $otheritemscount ); | 
        
          | 1774 |         for my $key ( sort keys %$onloan_items ) { | 1771 |         for my $key ( sort keys %$onloan_items ) { | 
        
          | 1775 |             (++$onloanitemscount > $maxitems) and last; | 1772 |             (++$onloanitemscount > $maxitems) and last; | 
            
              | 1776 | -  |  |  |