Bugzilla – Attachment 22238 Details for
Bug 10798
OPAC_SEARCH_LIMIT behaves badly with search groups
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10798 follow-up: replacing tabs by spaces
Bug-10798-follow-up-replacing-tabs-by-spaces.patch (text/plain), 1.39 KB, created by
Paul Poulain
on 2013-10-21 23:46:25 UTC
(
hide
)
Description:
Bug 10798 follow-up: replacing tabs by spaces
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2013-10-21 23:46:25 UTC
Size:
1.39 KB
patch
obsolete
>From 5ad85d97ac71b2969cf3de8126cb61c36ff5d052 Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Tue, 22 Oct 2013 01:38:59 +0200 >Subject: [PATCH] Bug 10798 follow-up: replacing tabs by spaces > >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >--- > C4/Auth.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index f165d5e..1df26d1 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -381,9 +381,9 @@ sub get_template_and_user { > my $opac_limit_override = $ENV{'OPAC_LIMIT_OVERRIDE'}; > my $opac_name = ''; > if ( >- ($opac_limit_override && $opac_search_limit && $opac_search_limit =~ /branch:(\w+)/) || >- ($in->{'query'}->param('limit') && $in->{'query'}->param('limit') =~ /branch:(\w+)/) || >- ($in->{'query'}->param('multibranchlimit') && $in->{'query'}->param('multibranchlimit') =~ /multibranchlimit-(\w+)/) >+ ($opac_limit_override && $opac_search_limit && $opac_search_limit =~ /branch:(\w+)/) || >+ ($in->{'query'}->param('limit') && $in->{'query'}->param('limit') =~ /branch:(\w+)/) || >+ ($in->{'query'}->param('multibranchlimit') && $in->{'query'}->param('multibranchlimit') =~ /multibranchlimit-(\w+)/) > ) { > $opac_name = $1; # opac_search_limit is a branch, so we use it. > } elsif ( $in->{'query'}->param('multibranchlimit') ) { >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10798
:
20708
|
21739
|
22237
| 22238