* Fix a bug.

This commit is contained in:
hufangzhou
2021-04-14 13:51:07 +08:00
parent c946ff50b3
commit 77f7031226
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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')
+1
View File
@@ -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');