Bugzilla – Attachment 92940 Details for
Bug 23086
Search for collection is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23086 - Search for collection is broken
Bug-23086---Search-for-collection-is-broken.patch (text/plain), 1.06 KB, created by
Kyle M Hall
on 2019-09-18 14:28:48 UTC
(
hide
)
Description:
Bug 23086 - Search for collection is broken
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2019-09-18 14:28:48 UTC
Size:
1.06 KB
patch
obsolete
>From 50c11fa2c951e2f445377a125ee87496e187b43c Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 18 Sep 2019 10:28:33 -0400 >Subject: [PATCH] Bug 23086 - Search for collection is broken > >--- > C4/Search.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 65f514498f..1ecd717663 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1700,10 +1700,10 @@ sub buildQuery { > # OR every member of the group > elsif ( $this_limit =~ /mc/ ) { > my ($k,$v) = split(/:/, $this_limit,2); >- if ( $k !~ /mc-i(tem)?type/ ) { >+ if ( $k !~ /mc-i(tem)?type/ && $v !~ /[a-zA-Z0-9]/ ) { > # in case the mc-ccode value has complicating chars like ()'s inside it we wrap in quotes >- $this_limit =~ tr/"//d; >- $this_limit = $k.":'".$v."'"; >+ $v =~ tr/"//d; >+ $this_limit = qq{$k:'$v'}; > } > > $group_OR_limits{$k} .= " or " if $group_OR_limits{$k}; >-- >2.20.1 (Apple Git-117)
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 23086
:
92940
|
106664
|
106668
|
106855
|
106935
|
106936
|
107055
|
107056
|
107355
|
107356