From c8ff9618cd772c355aeae978f492205b7ad57f65 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Tue, 13 Oct 2009 16:22:24 +0200 Subject: [PATCH] followup : auto_truncation 3287252c0 truncated words bore a double * which would create an error --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Search.pm b/C4/Search.pm index 5007f238d3..993a92f0a5 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -937,7 +937,7 @@ sub buildQuery { unless ( $index =~ /(st-|phr|ext)/ ) { #FIXME only valid with LTR scripts $operand=join(" ",map{ - "$_*" + (index($_,"*")>0?"$_":"$_*") }split (/\s+/,$operand)); warn $operand if $DEBUG; } -- 2.39.5