diff --git a/htdocs/inventory/list.php b/htdocs/inventory/list.php index ff2c5e4d8d4dc2993ab5fe16bca20c3e6e8e4dbe..d55996d0407839dc1847cc83c21e122f9202dbbc 100644 --- a/htdocs/inventory/list.php +++ b/htdocs/inventory/list.php @@ -84,9 +84,9 @@ echo $list->render(Inventory::getSQL('All'), array( ), 'search'=>array( - 'rowid' => array('recherche' => true, 'table' => array('i'), 'field' => array('title')), - 'date_inventory'=>array('recherche' => 'calendars', 'table' => array('i'), 'field' => array('date_inventory')), - 'status'=>array(1=>$langs->trans("inventoryValidate"), 0=>$langs->trans("inventoryDraft")) + 'rowid' => array('search_type' => true, 'table' => array('i'), 'field' => array('title')), + 'date_inventory'=>array('search_type' => 'calendars', 'table' => array('i'), 'field' => array('date_inventory')), + 'status'=>array('search_type' => array(1=>$langs->trans("inventoryValidate"), 0=>$langs->trans("inventoryDraft"))) ) ));