Lines 411-416
my @operands = map uri_unescape($_), $cgi->param('q');
Link Here
|
411 |
|
411 |
|
412 |
# limits are use to limit to results to a pre-defined category such as branch or language |
412 |
# limits are use to limit to results to a pre-defined category such as branch or language |
413 |
my @limits = map uri_unescape($_), $cgi->param('limit'); |
413 |
my @limits = map uri_unescape($_), $cgi->param('limit'); |
|
|
414 |
my @nolimits = map uri_unescape($_), $cgi->param('nolimit'); |
415 |
my %is_nolimit = map { $_ => 1 } @nolimits; |
416 |
@limits = grep { not $is_nolimit{$_} } @limits; |
414 |
|
417 |
|
415 |
if($params->{'multibranchlimit'}) { |
418 |
if($params->{'multibranchlimit'}) { |
416 |
my $multibranch = '('.join( " or ", map { "branch: $_ " } @{ GetBranchesInCategory( $params->{'multibranchlimit'} ) } ).')'; |
419 |
my $multibranch = '('.join( " or ", map { "branch: $_ " } @{ GetBranchesInCategory( $params->{'multibranchlimit'} ) } ).')'; |
Lines 686-691
my $gotopage = $cgi->param('gotoPage');
Link Here
|
686 |
$template->{'VARS'}->{'gotoPage'} = $gotopage |
689 |
$template->{'VARS'}->{'gotoPage'} = $gotopage |
687 |
if $gotopage =~ m/^(ISBD|labeledMARC|MARC|more)?detail.pl$/; |
690 |
if $gotopage =~ m/^(ISBD|labeledMARC|MARC|more)?detail.pl$/; |
688 |
|
691 |
|
|
|
692 |
my @input_values = map { $_->{input_value} } @limit_inputs; |
693 |
for my $facet ( @$facets ) { |
694 |
for my $entry ( @{ $facet->{facets} } ) { |
695 |
my $index = $entry->{type_link_value}; |
696 |
my $value = $entry->{facet_link_value}; |
697 |
$entry->{active} = grep { $_ eq qq{$index:$value} } @input_values; |
698 |
} |
699 |
} |
700 |
|
689 |
$template->param( |
701 |
$template->param( |
690 |
#classlist => $classlist, |
702 |
#classlist => $classlist, |
691 |
total => $total, |
703 |
total => $total, |