* Resolve feedback #172.
This commit is contained in:
@@ -516,9 +516,12 @@ class reportModel extends model
|
||||
return $this->dao->select('t1.id, t1.name, t2.account as user, t1.deadline')->from(TABLE_TASK)->alias('t1')
|
||||
->leftJoin(TABLE_USER)->alias('t2')->on('t1.assignedTo = t2.account')
|
||||
->leftJoin(TABLE_EXECUTION)->alias('t3')->on('t1.execution = t3.id')
|
||||
->leftJoin(TABLE_PROJECT)->alias('t4')->on('t1.project = t4.id')
|
||||
->where('t1.assignedTo')->ne('')
|
||||
->andWhere('t1.deleted')->eq(0)
|
||||
->andWhere('t2.deleted')->eq(0)
|
||||
->andWhere('t3.deleted')->eq(0)
|
||||
->andWhere('t4.deleted')->eq(0)
|
||||
->andWhere('t1.status')->in('wait,doing')
|
||||
->andWhere('t3.status')->ne('suspended')
|
||||
->andWhere('t1.deadline', true)->eq('0000-00-00')
|
||||
|
||||
Reference in New Issue
Block a user