From 4cc7b7e59da9f58e14e48e896941057e61e41437 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Sat, 1 May 2010 00:19:49 +0200 Subject: [PATCH] MT3228 : trailing space block search Removing trailing searchs befor operands which block searches Signed-off-by: Henri-Damien LAURENT Signed-off-by: Galen Charlton --- C4/Search.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Search.pm b/C4/Search.pm index 33f16122e1..30d8b4fe5a 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -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; -- 2.39.5