View | Details | Raw Unified | Return to bug 11469
Collapse All | Expand All

(-)a/catalogue/search.pl (-1 / +1 lines)
Lines 393-399 $template->param(available => $available); Link Here
393
my $limit_yr;
393
my $limit_yr;
394
my $limit_yr_value;
394
my $limit_yr_value;
395
if ($params->{'limit-yr'}) {
395
if ($params->{'limit-yr'}) {
396
    if ($params->{'limit-yr'} =~ /^\d+$/) {
396
    if ($params->{'limit-yr'} =~ /^\d+/) {
397
        $limit_yr = "yr,st-numeric=$params->{'limit-yr'}";
397
        $limit_yr = "yr,st-numeric=$params->{'limit-yr'}";
398
        $limit_yr_value = $params->{'limit-yr'};
398
        $limit_yr_value = $params->{'limit-yr'};
399
    }
399
    }
(-)a/opac/opac-search.pl (-2 / +1 lines)
Lines 514-520 $template->param(available => $available); Link Here
514
514
515
# append year limits if they exist
515
# append year limits if they exist
516
if ($params->{'limit-yr'}) {
516
if ($params->{'limit-yr'}) {
517
    if ($params->{'limit-yr'} =~ /^\d+$/) {
517
    if ($params->{'limit-yr'} =~ /^\d+/) {
518
        push @limits, "yr,st-numeric=$params->{'limit-yr'}";
518
        push @limits, "yr,st-numeric=$params->{'limit-yr'}";
519
    }
519
    }
520
    else {
520
    else {
521
- 

Return to bug 11469