mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX: task time: keep on using natural_search
This commit is contained in:
parent
88cd8fface
commit
571d130c3c
|
|
@ -1058,7 +1058,7 @@ if (($id > 0 || !empty($ref)) || $projectidforalltimes > 0)
|
|||
if ($search_note) $sql .= natural_search('t.note', $search_note);
|
||||
if ($search_task_ref) $sql .= natural_search('pt.ref', $search_task_ref);
|
||||
if ($search_task_label) $sql .= natural_search('pt.label', $search_task_label);
|
||||
if ($search_user > 0) $sql .= ' AND t.fk_user = ' . intval($search_user);
|
||||
if ($search_user > 0) $sql .= natural_search('t.fk_user', $search_user, 2);
|
||||
if ($search_valuebilled == '1') $sql .= ' AND t.invoice_id > 0';
|
||||
if ($search_valuebilled == '0') $sql .= ' AND (t.invoice_id = 0 OR t.invoice_id IS NULL)';
|
||||
$sql .= dolSqlDateFilter('t.task_datehour', $search_day, $search_month, $search_year);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user