This commit is contained in:
liyuchun
2021-11-10 09:19:25 +08:00
parent deaaaf1da3
commit bb426aaabe
+11
View File
@@ -792,6 +792,17 @@ class kanbanModel extends model
->andWhere('t2.deleted')->eq(0)
->orderBy($groupBy . '_desc')
->fetchPairs();
if($type == 'task')
{
$unlindedTask = $this->dao->select('id')->from(TABLE_TASK)
->where('execution')->eq($executionID)
->andWhere('parent')->ge(0)
->andWhere('story')->eq(0)
->andWhere('deleted')->eq(0)
->fetch('id');
if($unlindedTask) $groupList[0] = 0;
}
}
else
{