* Fix bug #45838, reset the bugs link.
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user