diff --git a/htdocs/product/admin/product.php b/htdocs/product/admin/product.php
index c3f56c1e2b9..202fb69be79 100644
--- a/htdocs/product/admin/product.php
+++ b/htdocs/product/admin/product.php
@@ -671,12 +671,12 @@ if (empty($conf->use_javascript_ajax)) {
}
print '';
-if (!getDolGlobalString('PRODUIT_USE_SEARCH_TO_SELECT')) {
- print '
';
- print '| '.$langs->trans("NumberOfProductShowInSelect").' | ';
- print ' | ';
- print '
';
-}
+
+print '';
+print '| '.$langs->trans("NumberOfProductShowInSelect").' | ';
+print ' | ';
+print '
';
+
// Do Not Add Product description on add lines
print '';
diff --git a/htdocs/product/ajax/products.php b/htdocs/product/ajax/products.php
index a0c379f078a..6e4f19577bc 100644
--- a/htdocs/product/ajax/products.php
+++ b/htdocs/product/ajax/products.php
@@ -315,7 +315,7 @@ if ($action == 'fetch' && !empty($id)) {
}
if (empty($mode) || $mode == 1) { // mode=1: customer
- $arrayresult = $form->select_produits_list("", $htmlname, $type, 0, $price_level, $searchkey, $status, $finished, $outjson, $socid, '1', 0, '', $hidepriceinlabel, $warehouseStatus, $status_purchase, $warehouseId);
+ $arrayresult = $form->select_produits_list("", $htmlname, $type, getDolGlobalInt('PRODUIT_LIMIT_SIZE', 50), $price_level, $searchkey, $status, $finished, $outjson, $socid, '1', 0, '', $hidepriceinlabel, $warehouseStatus, $status_purchase, $warehouseId);
} elseif ($mode == 2) { // mode=2: supplier
$arrayresult = $form->select_produits_fournisseurs_list($socid, "", $htmlname, $type, "", $searchkey, $status, $outjson, 0, $alsoproductwithnosupplierprice);
}