Skip to content
Snippets Groups Projects
Commit 22503da8 authored by Phf's avatar Phf
Browse files

Fix search_type on inventory list

parent ac7b95df
Branches
No related tags found
No related merge requests found
...@@ -84,9 +84,9 @@ echo $list->render(Inventory::getSQL('All'), array( ...@@ -84,9 +84,9 @@ echo $list->render(Inventory::getSQL('All'), array(
), ),
'search'=>array( 'search'=>array(
'rowid' => array('recherche' => true, 'table' => array('i'), 'field' => array('title')), 'rowid' => array('search_type' => true, 'table' => array('i'), 'field' => array('title')),
'date_inventory'=>array('recherche' => 'calendars', 'table' => array('i'), 'field' => array('date_inventory')), 'date_inventory'=>array('search_type' => 'calendars', 'table' => array('i'), 'field' => array('date_inventory')),
'status'=>array(1=>$langs->trans("inventoryValidate"), 0=>$langs->trans("inventoryDraft")) 'status'=>array('search_type' => array(1=>$langs->trans("inventoryValidate"), 0=>$langs->trans("inventoryDraft")))
) )
)); ));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment