From 891e456293297c3960e78c720390aa04e850c13d Mon Sep 17 00:00:00 2001 From: qiyu-xie Date: Thu, 25 Mar 2021 13:27:18 +0800 Subject: [PATCH 1/2] * Fix bug#11475. --- module/testtask/view/results.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/testtask/view/results.html.php b/module/testtask/view/results.html.php index 2706e21ee8..9152ac8596 100644 --- a/module/testtask/view/results.html.php +++ b/module/testtask/view/results.html.php @@ -53,8 +53,8 @@ id,executionID=$testtask->execution,buildID=$testtask->build" : '';?> - app->openApp == 'project' ? "projectID={$this->session->project}" : ''?> -
+ app->openApp == 'project' ? "projectID={$this->session->project}," : ''?> + From 820fcf1e38b0f807c25635f15b1aece43912144a Mon Sep 17 00:00:00 2001 From: leiyong <1549684884@qq.com> Date: Thu, 25 Mar 2021 13:27:53 +0800 Subject: [PATCH 2/2] * Fix bug. --- module/project/control.php | 2 -- module/search/control.php | 1 + module/todo/control.php | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/module/project/control.php b/module/project/control.php index 9b534df024..c3c3c6524c 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -490,8 +490,6 @@ class project extends control $this->project->setMenu($projectID); - $this->app->session->set('projectList', $this->app->getURI(true), 'project'); - $products = $this->loadModel('product')->getProducts($projectID); $linkedBranches = array(); foreach($products as $product) diff --git a/module/search/control.php b/module/search/control.php index ab2fb8ed64..9f10bff29b 100644 --- a/module/search/control.php +++ b/module/search/control.php @@ -216,6 +216,7 @@ class search extends control $this->session->set('testsuiteList', $uri, 'qa'); $this->session->set('issueList', $uri, 'project'); $this->session->set('riskList', $uri, 'project'); + $this->session->set('caselibList', $uri, 'qa'); $this->session->set('searchIngWord', $words); $this->session->set('searchIngType', $type); diff --git a/module/todo/control.php b/module/todo/control.php index 0dcb14ed90..cd977e5900 100644 --- a/module/todo/control.php +++ b/module/todo/control.php @@ -373,7 +373,6 @@ class todo extends control /* Save the session. */ $uri = $this->app->getURI(true); - $this->session->set('todoList', $uri, 'my'); $this->session->set('bugList', $uri, 'qa'); $this->session->set('taskList', $uri, 'execution'); $this->session->set('storyList', $uri, 'product');