diff --git a/module/story/control.php b/module/story/control.php index ac89ca8acf..2cfad68f07 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -1513,6 +1513,7 @@ class story extends control public function zeroCase($productID = 0, $branchID = 0, $orderBy = 'id_desc') { $this->session->set('storyList', $this->app->getURI(true) . '#app=' . $this->app->openApp, 'product'); + $this->session->set('caseList', $this->app->getURI(true), $this->app->openApp); $this->loadModel('testcase'); if($this->app->openApp == 'project') diff --git a/module/testtask/control.php b/module/testtask/control.php index 69c1a8d79f..b7077c65c6 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -146,6 +146,7 @@ class testtask extends control { /* Save session. */ $this->session->set('testtaskList', $this->app->getURI(true), 'qa'); + $this->session->set('caseList', $this->app->getURI(true), $this->app->openApp); $this->session->set('buildList', $this->app->getURI(true) . '#app=' . $this->app->openApp, 'execution'); $this->loadModel('testcase'); $this->app->loadLang('tree');