Fix translation and sql request

This commit is contained in:
Laurent Destailleur
2019-09-28 12:36:09 +02:00
parent 86e5465197
commit db32ca99c6
6 changed files with 27 additions and 21 deletions

View File

@@ -240,6 +240,7 @@ foreach($search as $key => $val)
if ($search[$key] != '') $sql.=natural_search($key, $search[$key], (($key == 'status')?2:$mode_search));
}
if ($search_all) $sql.= natural_search(array_keys($fieldstosearchall), $search_all);
//$sql.= dolSqlDateFilter("t.field", $search_xxxday, $search_xxxmonth, $search_xxxyear);
// Add where from extra fields
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_sql.tpl.php';
// Add where from hooks