followup : auto_truncation 3287252c0
truncated words bore a double * which would create an error Conflicts solved : C4/Search.pm
This commit is contained in:
parent
f6f80e1b8b
commit
f0aee34d3f
|
|
@ -1139,7 +1139,13 @@ sub buildQuery {
|
|||
}
|
||||
|
||||
if ($auto_truncation){
|
||||
$operand=~join(" ",map{ "$_*" }split (/\s+/,$operand));
|
||||
unless ( $index =~ /(st-|phr|ext)/ ) {
|
||||
#FIXME only valid with LTR scripts
|
||||
$operand=join(" ",map{
|
||||
(index($_,"*")>0?"$_":"$_*")
|
||||
}split (/\s+/,$operand));
|
||||
warn $operand if $DEBUG;
|
||||
}
|
||||
}
|
||||
|
||||
# Detect Truncation
|
||||
|
|
|
|||
Loading…
Reference in New Issue