Bug Fix : 3689

Disabling Query_AutoTruncate for NoZebra searches

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
Henri-Damien LAURENT 2009-10-07 15:49:02 +02:00
parent 640595651f
commit f6f80e1b8b

View file

@ -1007,9 +1007,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];