[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 Search.pm
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] koha/C4 Search.pm |
Date: |
Wed, 09 May 2007 19:42:48 +0000 |
CVSROOT: /sources/koha
Module name: koha
Changes by: Joshua Ferraro <kados> 07/05/09 19:42:48
Modified files:
C4 : Search.pm
Log message:
fixing minor typo, need space after the operators
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Search.pm?cvsroot=koha&r1=1.140&r2=1.141
Patches:
Index: Search.pm
===================================================================
RCS file: /sources/koha/koha/C4/Search.pm,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -b -r1.140 -r1.141
--- Search.pm 9 May 2007 19:39:02 -0000 1.140
+++ Search.pm 9 May 2007 19:42:48 -0000 1.141
@@ -25,7 +25,7 @@
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
# set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.140 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.141 $' =~ /\d+/g;
shift(@v) . "." . join( "_", map { sprintf "%03d", $_ } @v );
};
@@ -558,7 +558,7 @@
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) {