From ac4c96f10fd1c68168ab199a39cbfc777c1f721d 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 f600685c6f..a468821bcf 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1133,7 +1133,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