From 2ad3a039a0e3bf99db1b29d6f78d84f95d50a52d Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 5 Feb 2024 14:19:33 +0800 Subject: [PATCH] * Fix bug #45838, reset the bugs link. --- module/execution/ui/testcase.html.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/execution/ui/testcase.html.php b/module/execution/ui/testcase.html.php index 0f3c4784db..a6a2765577 100644 --- a/module/execution/ui/testcase.html.php +++ b/module/execution/ui/testcase.html.php @@ -43,6 +43,7 @@ $config->testcase->dtable->fieldList['actions']['list']['edit']['url'] = str_rep $config->testcase->dtable->fieldList['actions']['menu'] = array(array('confirmStoryChange'), array('runCase', 'runResult', 'edit', 'createBug', 'create')); if($config->testcase->needReview) array_unshift($config->testcase->dtable->fieldList['actions']['menu'][1], 'review'); $this->config->testcase->dtable->fieldList['title']['link'] = array('module' => 'testcase', 'method' => 'view', 'params' => "caseID={id}"); +$this->config->testcase->dtable->fieldList['bugs']['link'] = array('module' => 'testcase', 'method' => 'bugs', 'params' => "runID=0&caseID={id}"); foreach($config->testcase->dtable->fieldList['actions']['list'] as $method => $action) { if(isset($action['url']) && isset($action['url']['params'])) $config->testcase->dtable->fieldList['actions']['list'][$method]['url']['params'] = str_replace('{caseID}', '{id}', $action['url']['params']);