Fix: ajout tri sur id fournisseur

This commit is contained in:
Regis Houssin 2007-05-07 12:54:43 +00:00
parent 3a7708df98
commit 5aaa72bf86
2 changed files with 2 additions and 2 deletions

View File

@ -972,7 +972,7 @@ class Form
if ($conf->global->PRODUIT_USE_SEARCH_TO_SELECT)
{
print $langs->trans("RefOrLabel").' : <input type="text" size="16" name="keysearch'.$htmlname.'" id="keysearch'.$htmlname.'">';
print ajax_updater($htmlname,'keysearch','/product/ajaxproducts.php','&type=2','ajaxworking');
print ajax_updater($htmlname,'keysearch','/product/ajaxproducts.php','&socid='.$socid.'&type=2','ajaxworking');
}
else
{

View File

@ -48,7 +48,7 @@ if(isset($_GET['keysearch']) && !empty($_GET['keysearch']))
}
else if ($_GET['type'] == 2)
{
$form->select_produits_fournisseurs_do("","",$_GET["htmlname"],"","",$_GET["keysearch"]);
$form->select_produits_fournisseurs_do($_GET["socid"],"",$_GET["htmlname"],"","",$_GET["keysearch"]);
}
}