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

(-)a/opac/opac-search.pl (-2 / +2 lines)
Lines 420-429 if ($operands[0] && !$operands[1]) { Link Here
420
420
421
# limits are use to limit to results to a pre-defined category such as branch or language
421
# limits are use to limit to results to a pre-defined category such as branch or language
422
my @limits = $cgi->param('limit');
422
my @limits = $cgi->param('limit');
423
@limits = map { uri_unescape($_) } @limits;
423
my @nolimits = $cgi->param('nolimit');
424
my @nolimits = $cgi->param('nolimit');
425
@nolimits = map { uri_unescape($_) } @nolimits;
424
my %is_nolimit = map { $_ => 1 } @nolimits;
426
my %is_nolimit = map { $_ => 1 } @nolimits;
425
@limits = grep { not $is_nolimit{$_} } @limits;
427
@limits = grep { not $is_nolimit{$_} } @limits;
426
@limits = map { uri_unescape($_) } @limits;
427
428
428
if($params->{'multibranchlimit'}) {
429
if($params->{'multibranchlimit'}) {
429
    my $multibranch = '('.join( " or ", map { "branch: $_ " } @{ GetBranchesInCategory( $params->{'multibranchlimit'} ) } ).')';
430
    my $multibranch = '('.join( " or ", map { "branch: $_ " } @{ GetBranchesInCategory( $params->{'multibranchlimit'} ) } ).')';
430
- 

Return to bug 13428