* [bug#50176] fix edit task from linear to normal.
This commit is contained in:
@@ -566,7 +566,7 @@ class dataset
|
||||
$stmt = $this->dao->select($fieldList)->from(TABLE_TASK)->alias('t1')
|
||||
->leftJoin(TABLE_PROJECT)->alias('t2')->on('t1.execution=t2.id')
|
||||
->leftJoin(TABLE_PROJECT)->alias('t3')->on('t2.project=t3.id')
|
||||
->leftJoin(TABLE_TASKTEAM)->alias('t4')->on('t1.id=t4.task')
|
||||
->leftJoin(TABLE_TASKTEAM)->alias('t4')->on("t1.id=t4.task and t1.mode != ''")
|
||||
->where('t1.deleted')->eq(0)
|
||||
->andWhere('t2.deleted')->eq(0)
|
||||
->andWhere('t3.deleted')->eq(0);
|
||||
|
||||
Reference in New Issue
Block a user