Lines 381-389
sub get_template_and_user {
Link Here
|
381 |
my $opac_limit_override = $ENV{'OPAC_LIMIT_OVERRIDE'}; |
381 |
my $opac_limit_override = $ENV{'OPAC_LIMIT_OVERRIDE'}; |
382 |
my $opac_name = ''; |
382 |
my $opac_name = ''; |
383 |
if ( |
383 |
if ( |
384 |
($opac_limit_override && $opac_search_limit && $opac_search_limit =~ /branch:(\w+)/) || |
384 |
($opac_limit_override && $opac_search_limit && $opac_search_limit =~ /branch:(\w+)/) || |
385 |
($in->{'query'}->param('limit') && $in->{'query'}->param('limit') =~ /branch:(\w+)/) || |
385 |
($in->{'query'}->param('limit') && $in->{'query'}->param('limit') =~ /branch:(\w+)/) || |
386 |
($in->{'query'}->param('multibranchlimit') && $in->{'query'}->param('multibranchlimit') =~ /multibranchlimit-(\w+)/) |
386 |
($in->{'query'}->param('multibranchlimit') && $in->{'query'}->param('multibranchlimit') =~ /multibranchlimit-(\w+)/) |
387 |
) { |
387 |
) { |
388 |
$opac_name = $1; # opac_search_limit is a branch, so we use it. |
388 |
$opac_name = $1; # opac_search_limit is a branch, so we use it. |
389 |
} elsif ( $in->{'query'}->param('multibranchlimit') ) { |
389 |
} elsif ( $in->{'query'}->param('multibranchlimit') ) { |
390 |
- |
|
|