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