* adjust for get wait project in program kanban.

This commit is contained in:
王怡栋
2021-09-15 10:28:46 +08:00
parent 310b23c8fa
commit 7757da97f5
+1 -1
View File
@@ -182,7 +182,7 @@ class programModel extends model
->on('t1.project = t2.id')
->where('t2.deleted')->eq(0)
->andWhere('t1.product')->in($productPairs)
->andWhere('t2.status')->eq('doing')
->andWhere('t2.status')->in('wait,doing')
->andWhere('t2.type')->eq('project')
->beginIF(!$this->app->user->admin)->andWhere('t2.id')->in($this->app->user->view->projects)->fi()
->fetchGroup('product');