From d205be1ba26ed7a706dfcdc647c5fd9aa561ccd5 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Fri, 4 Jan 2008 00:27:25 -0500 Subject: [PATCH] fix for bug 1736: Zebra searching, " " quotes cannot access second page when used Signed-off-by: Joshua Ferraro --- C4/Search.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index 19f91251bf..cb652b685f 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -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; -- 2.39.5