Bugzilla – Attachment 120580 Details for
Bug 21249
Syspref to choose whether to search homebranch, holding branch or both for library groups in advanced search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21249: (follow-up) Adding parentheses to fix query
Bug-21249-follow-up-Adding-parentheses-to-fix-quer.patch (text/plain), 1.49 KB, created by
David Cook
on 2021-05-06 03:46:04 UTC
(
hide
)
Description:
Bug 21249: (follow-up) Adding parentheses to fix query
Filename:
MIME Type:
Creator:
David Cook
Created:
2021-05-06 03:46:04 UTC
Size:
1.49 KB
patch
obsolete
>From d73fbe0b753b5b8cbb4d1081cef3ea83816388e7 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Wed, 5 May 2021 17:22:06 +1200 >Subject: [PATCH] Bug 21249: (follow-up) Adding parentheses to fix query > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> > >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > catalogue/search.pl | 2 +- > opac/opac-search.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/catalogue/search.pl b/catalogue/search.pl >index a2398db7e7..9552c39089 100755 >--- a/catalogue/search.pl >+++ b/catalogue/search.pl >@@ -413,7 +413,7 @@ for ( my $i=0; $i<@limits; $i++ ) { > my $holdingbranchlimit = $limits[$i]; > $homebranchlimit =~ s/branch/homebranch/; > $holdingbranchlimit =~ s/branch/holdingbranch/; >- $limits[$i] = "$homebranchlimit or $holdingbranchlimit"; >+ $limits[$i] = "($homebranchlimit or $holdingbranchlimit)"; > } > } > } >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index bc344c2076..26ec1cca9e 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -519,7 +519,7 @@ for ( my $i=0; $i<@limits; $i++ ) { > my $holdingbranchlimit = $limits[$i]; > $homebranchlimit =~ s/branch/homebranch/; > $holdingbranchlimit =~ s/branch/holdingbranch/; >- $limits[$i] = "$homebranchlimit or $holdingbranchlimit"; >+ $limits[$i] = "($homebranchlimit or $holdingbranchlimit)"; > } > } > } >-- >2.11.0
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 21249
:
78013
|
78014
|
78921
|
82138
|
83518
|
93345
|
93346
|
95099
|
95100
|
95101
|
103618
|
103619
|
103620
|
103621
|
103622
|
117220
|
117221
|
117222
|
117223
|
117224
|
120481
|
120567
|
120568
|
120569
|
120570
|
120571
|
120572
|
120575
|
120576
|
120577
|
120578
|
120579
| 120580