From b52dd702292c0cb38e6551c56a5bbeed559e72ec Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 2 Jul 2013 14:21:05 +0200 Subject: [PATCH 01/13] Fix: Missing dependency --- build/debian/control | 1 + 1 file changed, 1 insertion(+) diff --git a/build/debian/control b/build/debian/control index 9f0a0fb2ef5..82fdc33fd27 100755 --- a/build/debian/control +++ b/build/debian/control @@ -13,6 +13,7 @@ Depends: libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | libphp-adodb, libnusoap-php, libphp-pclzip, + libfpdi-php, libjs-jquery, libjs-jquery-ui, libjs-flot, ckeditor, ttf-dejavu-core, xdg-utils, From b1b68eafe301791a7a41c6744d423b4879aeae26 Mon Sep 17 00:00:00 2001 From: Florian Henry Date: Mon, 8 Jul 2013 12:47:07 +0200 Subject: [PATCH 02/13] [ 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.= '