* Fix bug of runCase in my.

This commit is contained in:
xieqiyu
2022-07-01 08:24:25 +08:00
parent c168920eab
commit c17767fcd1
+1 -1
View File
@@ -685,7 +685,7 @@ EOF;
if($type == 'bysearch' and $this->app->rawMethod == 'contribute') $cases = $this->my->getTestcasesBySearch($queryID, 'contribute', $orderBy, $pager);
if($type == 'bysearch' and $this->app->rawMethod == 'work') $cases = $this->my->getTestcasesBySearch($queryID, 'work', $orderBy, $pager);
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'testcase', $type == 'assigntome' ? false : true);
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'testcase', false);
$cases = $this->testcase->appendData($cases, $type == 'assigntome' ? 'run' : 'case');