# OPAC hidden items
if ($is_opac) {
# hidden because lost
if ($hidelostitems && $item->{itemlost}) {
$hideatopac_count++;
next;
}
# hidden based on OpacHiddenItems syspref
my @hi = C4::Items::GetHiddenItemnumbers($item);
if (scalar @hi) {
push @hiddenitems, @hi;
</div>
[% IF ( opacfacets ) %]
[% IF ( opacfacets && SEARCH_RESULTS.size ) %]
<div class="yui-b"><div id="facetcontainer" class="container">
<!-- FACETS START -->
[% INCLUDE 'opac-facets.inc' %]
if ($results_hashref->{$server}->{"hits"}){
$total = $total + $results_hashref->{$server}->{"hits"};
$total = @newresults; # newresults will just have the hidden biblios filtered (see Search)
# Opac search history
-