Bugzilla – Attachment 14144 Details for
Bug 7518
searches with quotation marks don't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (revisited)
0001-Bug-7518-searches-with-quotation-marks-don-t-work.patch (text/plain), 784 bytes, created by
Fridolin Somers
on 2012-12-14 16:45:06 UTC
(
hide
)
Description:
Proposed patch (revisited)
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2012-12-14 16:45:06 UTC
Size:
784 bytes
patch
obsolete
>From 594881d949184440784c59bde5a45d867a20b09c Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Fri, 14 Dec 2012 10:45:40 +0100 >Subject: [PATCH] Bug 7518: searches with quotation marks don't work > >--- > C4/Search.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 1e850d9..b09326f 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1260,6 +1260,7 @@ sub buildQuery { > $remove_stopwords = 0; > } else { > $operands[$i] =~ s/\?/{?}/g; # need to escape question marks >+ $operands[$i] =~ s/"/\\"/g; # brakes CCL syntaxe > } > my $operand = $operands[$i]; > my $index = $indexes[$i]; >-- >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 7518
:
14113
|
14144
|
14187
|
15936
|
16238
|
17150
|
19596