From b78821528b9d4ba1b2d4d115b11470c5eff06674 Mon Sep 17 00:00:00 2001 From: kados Date: Wed, 9 May 2007 19:42:48 +0000 Subject: [PATCH] fixing minor typo, need space after the operators --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index 03edac1e1f..839d2315e8 100755 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -558,7 +558,7 @@ sub buildQuery { my $weight_fields = C4::Context->parameters("WeightFields") || 0; if ( $operands[$i] ) { - $operand =~ s/^(and|or|not)//i; + $operand =~ s/^(and |or |not )//i; # STEMMING FIXME: need to refine the field weighting so stemmed operands don't disrupt the query ranking if ($stemming) { -- 2.39.5