MT3228 : trailing space block search

Removing trailing searchs befor operands which block searches

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Paul Poulain 2010-05-01 00:19:49 +02:00 committed by Galen Charlton
parent 5bf4d52364
commit 4cc7b7e59d

View file

@ -1079,6 +1079,7 @@ sub buildQuery {
# COMBINE OPERANDS, INDEXES AND OPERATORS
if ( $operands[$i] ) {
$operands[$i]=~s/^\s+//;
# A flag to determine whether or not to add the index to the query
my $indexes_set;