Bugzilla – Attachment 371 Details for
Bug 1807
search () give odd results with Zebra and ICU
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to stop : blocking searches
0050-Bug-1807-can-now-search-with-in-the-box-if-you-want-.patch (text/plain), 861 bytes, created by
Chris Cormack
on 2009-12-12 09:08:00 UTC
(
hide
)
Description:
Patch to stop : blocking searches
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-12-12 09:08:00 UTC
Size:
861 bytes
patch
obsolete
>From a9925ecaea67e87977945e6316c2fafdfdaa0e62 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chris@bigballofwax.co.nz> >Date: Sat, 12 Dec 2009 22:06:45 +1300 >Subject: [PATCH] Bug 1807, can now search with : in the box if you want to use ccl do ccl: title=fish > >--- > C4/Search.pm | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index bec44d2..e3f9258 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1092,7 +1092,9 @@ sub buildQuery { > } > > # Normalize the query and limit strings >- $query =~ s/:/=/g; >+ # This is flawed , means we can't search anything with : in it >+ # if user wants to do ccl or cql, start the query with that >+# $query =~ s/:/=/g; > $limit =~ s/:/=/g; > for ( $query, $query_desc, $limit, $limit_desc ) { > s/ / /g; # remove extra spaces >-- >1.6.3.3 >
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 1807
:
370
|
371
|
35612
|
35646