From c17767fcd19e6aa9ec2d808c37c222e653b67af4 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Fri, 1 Jul 2022 08:24:25 +0800 Subject: [PATCH] * Fix bug of runCase in my. --- module/my/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/my/control.php b/module/my/control.php index 9ff1bf6426..16dd05beba 100755 --- a/module/my/control.php +++ b/module/my/control.php @@ -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');