From e9d4ec72d31d6eb76eaa3433d2b95ed7f31b9d1c Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Wed, 7 Oct 2009 15:49:02 +0200 Subject: [PATCH] Bug Fix : 3689 Disabling Query_AutoTruncate for NoZebra searches --- C4/Search.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index 809bc87ea4..74539f6e1d 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -996,9 +996,10 @@ sub buildQuery { # no stemming/weight/fuzzy in NoZebra if ( C4::Context->preference("NoZebra") ) { - $stemming = 0; - $weight_fields = 0; - $fuzzy_enabled = 0; + $stemming = 0; + $weight_fields = 0; + $fuzzy_enabled = 0; + $auto_truncation = 0; } my $query = $operands[0]; -- 2.39.5