From: Paul Poulain <paul.poul...@biblibre.com> Removing trailing searchs befor operands which block searches
Signed-off-by: Henri-Damien LAURENT <henridamien.laur...@biblibre.com> --- 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 Koha-patches@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-patches