fix for bug 1736: Zebra searching, " " quotes cannot access second page when used
authorJoshua Ferraro <jmf@liblime.com>
Fri, 4 Jan 2008 05:27:25 +0000 (00:27 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 4 Jan 2008 05:29:04 +0000 (23:29 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Search.pm

index 19f9125..cb652b6 100644 (file)
@@ -1063,10 +1063,12 @@ sub buildQuery {
         $_ =~ s/^ //g;     # remove any beginning spaces
         $_ =~ s/ $//g;     # remove any ending spaces
         $_ =~ s/==/=/g;    # remove double == from query
-
     }
     $query_cgi =~ s/^&//; # remove unnecessary & from beginning of the query cgi
 
+    for ($query_cgi,$simple_query) {
+        $_ =~ s/"//g;
+    }
     # append the limit to the query
     $query .= " " . $limit;