* fix bug #691.
This commit is contained in:
@@ -464,6 +464,7 @@ class treeModel extends model
|
||||
$paths += $this->dao->select('DISTINCT t1.' . $field)->from(TABLE_MODULE)->alias('t1')
|
||||
->leftJoin(TABLE_TASK)->alias('t2')->on('t1.id=t2.module')
|
||||
->where('t2.module')->ne(0)
|
||||
->andWhere('t2.project')->eq($projectID)
|
||||
->andWhere('t2.deleted')->eq(0)
|
||||
->andWhere('t1.type')->eq('story')
|
||||
->fetchPairs();
|
||||
|
||||
Reference in New Issue
Block a user