From: Paul Poulain <[email protected]> Removing trailing searchs befor operands which block searches
Signed-off-by: Henri-Damien LAURENT <[email protected]> --- C4/Search.pm | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index 33f1612..30d8b4f 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; -- 1.6.3.3 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha.org/mailman/listinfo/koha-patches
