* code for task #74781.

This commit is contained in:
wangyidong
2022-11-02 09:27:14 +08:00
parent 4a0a5649a0
commit 99889da499
+1
View File
@@ -1569,6 +1569,7 @@ class docModel extends model
$executions = $this->dao->select('*')->from(TABLE_EXECUTION)
->where('deleted')->eq(0)
->andWhere('type')->in('sprint,stage,kanban')
->andWhere('multiple')->eq('1')
->andWhere('vision')->eq($this->config->vision)
->beginIF(!$this->app->user->admin)->andWhere('id')->in($this->app->user->view->sprints)->fi()
->orderBy('order_asc')