* fix a bug for ignore deleted project.
This commit is contained in:
@@ -787,6 +787,7 @@ class projectModel extends model
|
||||
->leftJoin(TABLE_TASK)->alias('t2')->on('t1.id=t2.project')
|
||||
->where('t2.status')->notIN('done,closed')
|
||||
->andWhere('t2.deleted')->eq(0)
|
||||
->andWhere('t1.deleted')->eq(0)
|
||||
->orderBy('id desc')
|
||||
->fetchAll('id');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user