Lines 523-532
if ($params->{'limit-yr'}) {
Link Here
|
523 |
my $scan = $params->{'scan'}; |
523 |
my $scan = $params->{'scan'}; |
524 |
my $count = C4::Context->preference('OPACnumSearchResults') || 20; |
524 |
my $count = C4::Context->preference('OPACnumSearchResults') || 20; |
525 |
my $countRSS = C4::Context->preference('numSearchRSSResults') || 50; |
525 |
my $countRSS = C4::Context->preference('numSearchRSSResults') || 50; |
526 |
my $results_per_page = $count; |
526 |
my $results_per_page = $params->{'results_per_page'} || $cgi->cookie("results_per_page") || $count; |
527 |
if ( C4::Context->preference('OPACnumSearchResultsDropdown') ){ |
|
|
528 |
$results_per_page = $params->{'results_per_page'} || $cgi->cookie("results_per_page"); |
529 |
} |
530 |
my $page = $cgi->param('page') || 1; |
527 |
my $page = $cgi->param('page') || 1; |
531 |
my $offset = $params->{'offset'} || 0; |
528 |
my $offset = $params->{'offset'} || 0; |
532 |
$offset = 0 if $offset < 0; |
529 |
$offset = 0 if $offset < 0; |
533 |
- |
|
|