From 547693c4b7c38d77e9d23256bb01a6ed3865ded6 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..74b1d59 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; # need to escape question marks
                 }
                 my $operand = $operands[$i];
                 my $index   = $indexes[$i];
-- 
1.7.9.5