Disabling Query_AutoTruncate for NoZebra searches Signed-off-by: Henri-Damien LAURENT <henridamien.laur...@biblibre.com> --- C4/Search.pm | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/C4/Search.pm b/C4/Search.pm index b6e5cfa..322db54 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -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]; -- 1.6.3.3 _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-patches