From ea6e03772c97a3cc8e592d660a71214d6a8271d0 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Tue, 20 Dec 2022 15:56:19 +0800 Subject: [PATCH 1/2] * Fix bug #31065. --- 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 498f62b679..c1100eaf7d 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -433,7 +433,7 @@ class testcase extends control /* Use this session link, when the tab is not QA, a session of the case list exists, and the session is not from the Dynamic page. */ $useSession = ($this->app->tab != 'qa' and $this->session->caseList and strpos($this->session->caseList, 'dynamic') === false); - $locateLink = $this->app->tab == 'project' ? $this->createLink('project', 'testcase', "projectID={$this->session->project}") : $this->createLink('testcase', 'browse', "productID={$this->post->product}&branch={$this->post->branch}&browseType=all¶m=0&orderBy=id_desc"); + $locateLink = $this->app->tab == 'project' ? $this->createLink('project', 'testcase', "projectID={$this->session->project}") : $this->createLink('testcase', 'browse', "productID={$this->post->product}&branch={$this->post->branch}"); $response['locate'] = $useSession ? $this->session->caseList : $locateLink; return $this->send($response); } From 190f85e35151d60eb38e19719b7f240dc13395dc Mon Sep 17 00:00:00 2001 From: zhaoke Date: Wed, 21 Dec 2022 07:11:02 +0000 Subject: [PATCH 2/2] * Fix auto radio margin. --- module/testcase/view/caseheader.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/view/caseheader.html.php b/module/testcase/view/caseheader.html.php index a2221989ac..f8e017069a 100644 --- a/module/testcase/view/caseheader.html.php +++ b/module/testcase/view/caseheader.html.php @@ -13,7 +13,7 @@ .btn-group a.btn-primary {border-right: 1px solid rgba(255,255,255,0.2);} .btn-group button.dropdown-toggle.btn-primary {padding:6px;} .body-modal #mainMenu>.btn-toolbar {width: auto;} -#mainMenu .pull-left .checkbox-primary {margin-top: 5px;} +#mainMenu .pull-left .checkbox-primary {margin-top: 6px;} #mainMenu .dividing-line {width: 1px; height: 16px; display: inline-block; background: #D8DBDE; margin: 7px 8px 0 0; float: left;} #byTypeTab li.split{border-top: 1px solid #eee;}