From e14c02410c9e3bb1a3535837746a5293fc8649ef Mon Sep 17 00:00:00 2001 From: liugang Date: Thu, 17 Aug 2023 15:06:22 +0800 Subject: [PATCH] * testcase: redirect to all cases page after edit a scene. --- module/testcase/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/control.php b/module/testcase/control.php index 67756cc314..20bb1cd7af 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -2772,7 +2772,7 @@ class testcase extends control if(defined('RUN_MODE') && RUN_MODE == 'api') return $this->send(array('status' => 'success', 'data' => $sceneID)); $useSession = $this->app->tab != 'qa' && $this->session->caseList && strpos($this->session->caseList, 'dynamic') === false; - $locate = $useSession ? $this->session->caseList : inlink('browse', "productID={$this->post->product}&branch={$this->post->branch}&browseType=byModule¶m={$this->post->module}"); + $locate = $useSession ? $this->session->caseList : inlink('browse', "productID={$this->post->product}&branch={$this->post->branch}&browseType=all¶m={$this->post->module}"); return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $locate)); }