From 0afdea43824d0cf6f0f1a52d4944dc13d83575ac Mon Sep 17 00:00:00 2001 From: wangyuting <851424971@qq.com> Date: Tue, 15 Nov 2022 05:50:07 +0000 Subject: [PATCH] * Fix bug #29759. --- module/execution/control.php | 2 +- module/kanban/control.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/execution/control.php b/module/execution/control.php index 072219bda6..cc664c764c 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -1826,7 +1826,7 @@ class execution extends control $this->view->code = $code; $this->view->team = $team; $this->view->teams = array(0 => '') + $this->execution->getCanCopyObjects((int)$projectID); - $this->view->allProjects = array(0 => '') + $this->project->getPairsByModel('all', 0, 'noclosed'); + $this->view->allProjects = array(0 => '') + $this->project->getPairsByModel('all', 0, 'noclosed,multiple'); $this->view->copyProjects = $copyProjects; $this->view->copyExecutions = array('' => '') + $this->execution->getList($copyProjectID); $this->view->executionID = $executionID; diff --git a/module/kanban/control.php b/module/kanban/control.php index 4479d6883d..1070aef18e 100644 --- a/module/kanban/control.php +++ b/module/kanban/control.php @@ -1378,7 +1378,7 @@ class kanban extends control $this->app->loadClass('pager', $static = true); $pager = new pager($recTotal, $recPerPage, $pageID); - $this->view->projects = array($this->lang->kanban->allProjects) + $this->project->getPairsByProgram(); + $this->view->projects = array($this->lang->kanban->allProjects) + $this->project->getPairsByProgram('', 'all', false, '', '', '', 'multiple'); $this->view->selectedProjectID = $selectedProjectID; $this->view->lanePairs = $this->kanban->getLanePairsByGroup($groupID); $this->view->executions2Imported = $this->execution->getStatData($selectedProjectID, 'undone', 0, 0, false, '', 'id_asc', $pager);