Fix follow tasks and time spent
This commit is contained in:
parent
fa5cda2e88
commit
a639724b92
@ -156,6 +156,8 @@ class box_task extends ModeleBoxes
|
|||||||
$sql.= " pt.entity = ".$conf->entity;
|
$sql.= " pt.entity = ".$conf->entity;
|
||||||
$sql.= " AND p.fk_statut = ".Project::STATUS_VALIDATED;
|
$sql.= " AND p.fk_statut = ".Project::STATUS_VALIDATED;
|
||||||
$sql.= " AND (pt.progress < 100 OR pt.progress IS NULL ) "; // 100% is done and not displayed
|
$sql.= " AND (pt.progress < 100 OR pt.progress IS NULL ) "; // 100% is done and not displayed
|
||||||
|
$sql.= " AND p.usage_task = 1 ";
|
||||||
|
|
||||||
|
|
||||||
$sql.= " ORDER BY pt.datee ASC, pt.dateo ASC";
|
$sql.= " ORDER BY pt.datee ASC, pt.dateo ASC";
|
||||||
$sql.= $db->plimit($max, 0);
|
$sql.= $db->plimit($max, 0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user