projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f05fb1
)
fixing minor typo, need space after the operators
author
kados
<kados>
Wed, 9 May 2007 19:42:48 +0000
(19:42 +0000)
committer
kados
<kados>
Wed, 9 May 2007 19:42:48 +0000
(19:42 +0000)
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
03edac1
..
839d231
100755
(executable)
--- 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) {