* Fix bug for RD Kanban.

This commit is contained in:
liumengyi
2022-01-13 16:00:42 +08:00
parent 0f49102886
commit 5d40963b8a
4 changed files with 233 additions and 10 deletions
+1 -1
View File
@@ -1234,7 +1234,7 @@ class executionModel extends model
$orderBy = (isset($project->model) and $project->model == 'waterfall') ? 'begin_asc,id_asc' : 'begin_desc,id_desc';
$executions = $this->dao->select('*')->from(TABLE_EXECUTION)
->where('type')->in('stage,sprint')
->where('type')->in('stage,sprint,kanban')
->andWhere('deleted')->eq('0')
->beginIF($projectID)->andWhere('project')->eq((int)$projectID)->fi()
->beginIF(!$this->app->user->admin)->andWhere('id')->in($this->app->user->view->sprints)->fi()