* Fix bug #109937, add scene field to testtask::cases.
This commit is contained in:
@@ -149,6 +149,7 @@ $cols = $this->loadModel('datatable')->getSetting('testtask');
|
||||
if(isset($cols['id']['name'])) $cols['id']['name'] = 'case';
|
||||
if(isset($cols['title']['link']['params'])) $cols['title']['link']['params'] = 'caseID={case}';
|
||||
if(isset($cols['bugs']['link']['params'])) $cols['bugs']['link']['params'] = 'caseID={case}';
|
||||
if(isset($cols['scene'])) $cols['scene']['map'] = $iscenes;
|
||||
|
||||
$runs = initTableData($runs, $cols);
|
||||
|
||||
|
||||
@@ -336,6 +336,7 @@ class testtaskZen extends testtask
|
||||
$this->view->pager = $pager;
|
||||
$this->view->branch = $testtask->branch;
|
||||
$this->view->modulePairs = $showModule ? $this->tree->getModulePairs($product->id, 'case', $showModule) : array();
|
||||
$this->view->iscenes = $this->testcase->getSceneMenu($product->id, $moduleID);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user