This commit is contained in:
sgm0422
2021-08-27 14:46:56 +08:00
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -402,6 +402,7 @@ class my extends control
{
$uri = $this->app->getURI(true);
$this->session->set('testtaskList', $uri, 'qa');
$this->session->set('reportList', $uri, 'qa');
$this->session->set('buildList', $uri, 'execution');
}
+1
View File
@@ -70,6 +70,7 @@ class program extends control
public function kanban()
{
$this->app->loadLang('release');
$this->app->session->set('projectList', $this->app->getURI(true), 'project');
$this->view->title = $this->lang->program->kanban->common;
$this->view->kanbanGroup = $this->program->getKanbanGroup();
+2 -1
View File
@@ -89,7 +89,6 @@ class testreport extends control
public function browse($objectID = 0, $objectType = 'product', $extra = '', $orderBy = 'id_desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
if(strpos('product|execution|project', $objectType) === false) die('Type Error!');
$this->session->set('reportList', $this->app->getURI(true), $this->app->openApp);
$objectID = $this->commonAction($objectID, $objectType);
$object = $this->$objectType->getById($objectID);
@@ -127,6 +126,8 @@ class testreport extends control
if($param) $this->locate($this->createLink('testreport', 'create', $param));
}
$this->session->set('reportList', $this->app->getURI(true), $this->app->openApp);
$executions = array();
$tasks = array();
foreach($reports as $report)