From b1b68eafe301791a7a41c6744d423b4879aeae26 Mon Sep 17 00:00:00 2001 From: Florian Henry Date: Mon, 8 Jul 2013 12:47:07 +0200 Subject: [PATCH] [ bug #972 ] Auto completion contact field do not take account the min caract number before search --- ChangeLog | 1 + htdocs/core/class/html.form.class.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3aa54336829..b95247b1301 100644 --- a/ChangeLog +++ b/ChangeLog @@ -56,6 +56,7 @@ For users: - New: [ task #823 ] Shipping_validate email notification. - New: [ task #900 ] Review code of ficheinter.class.php - Fix: [Bug #958] LocalTax2 for Spain fails on Suppliers +- Fix: [ bug #972 ] Auto completion contact field do not take account the min caract number before search For translators: - Update language files. diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 114a2356c6d..ca5b2c833d0 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -892,7 +892,7 @@ class Form if ($conf->use_javascript_ajax && $conf->global->CONTACT_USE_SEARCH_TO_SELECT && ! $forcecombo && ! $options_only) { - $out.= ajax_combobox($htmlname, $event); + $out.= ajax_combobox($htmlname, $event, $conf->global->CONTACT_USE_SEARCH_TO_SELECT); } if ($htmlname != 'none' || $options_only) $out.= '