Lines 625-632
for (my $i=0;$i<@servers;$i++) {
Link Here
|
625 |
} |
625 |
} |
626 |
$template->param(stopwords_removed => "@$stopwords_removed") if $stopwords_removed; |
626 |
$template->param(stopwords_removed => "@$stopwords_removed") if $stopwords_removed; |
627 |
$template->param(results_per_page => $results_per_page); |
627 |
$template->param(results_per_page => $results_per_page); |
628 |
$template->param(SEARCH_RESULTS => \@newresults, |
628 |
my $hide = C4::Context->preference('OpacHiddenItems'); |
629 |
OPACItemsResultsDisplay => (C4::Context->preference("OPACItemsResultsDisplay") eq "itemdetails"?1:0), |
629 |
$hide = ($hide =~ m/\S/) if $hide; # Just in case it has some spaces/new lines |
|
|
630 |
$template->param( |
631 |
SEARCH_RESULTS => \@newresults, |
632 |
OPACItemsResultsDisplay => (C4::Context->preference("OPACItemsResultsDisplay") eq "itemdetails"?1:0), |
633 |
supress_result_number => $hide, |
630 |
); |
634 |
); |
631 |
if (C4::Context->preference("OPACLocalCoverImages")){ |
635 |
if (C4::Context->preference("OPACLocalCoverImages")){ |
632 |
$template->param(OPACLocalCoverImages => 1); |
636 |
$template->param(OPACLocalCoverImages => 1); |
633 |
- |
|
|