Bugzilla – Attachment 120481 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.38 KB, created by
Aleisha Amohia
on 2021-05-05 05:22:56 UTC
(
hide
)
Description:
Bug 21249: (follow-up) Adding parentheses to fix query
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2021-05-05 05:22:56 UTC
Size:
1.38 KB
patch
obsolete
>From 5789f8b22f1c45c9e2f11b6335bcdd2dcf3c7355 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 > >--- > 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