fix for bug 1736: Zebra searching, " " quotes cannot access second page when used

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Joshua Ferraro 2008-01-04 00:27:25 -05:00
parent e3eda86bf9
commit d205be1ba2
1 changed files with 3 additions and 1 deletions

View 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;