fixing minor typo, need space after the operators
authorkados <kados>
Wed, 9 May 2007 19:42:48 +0000 (19:42 +0000)
committerkados <kados>
Wed, 9 May 2007 19:42:48 +0000 (19:42 +0000)
C4/Search.pm

index 03edac1..839d231 100755 (executable)
@@ -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) {