* Code for bug #48748.
This commit is contained in:
@@ -1983,6 +1983,7 @@ class productModel extends model
|
||||
if($module == 'testtask' && $method == 'unitcases') return helper::createLink($module, 'browseUnits', "productID=%s&browseType=newest&orderBy=id_desc&recTotal=0&recPerPage=0&pageID=1" . ($this->app->tab == 'project' ? "&projectID={$this->session->project}" : ''));
|
||||
|
||||
if(($module == 'story' && in_array($method, array('create', 'batchcreate'))) || ($module == 'product' && $method == 'browse')) return helper::createLink('product', 'browse', "productID=%s&branch={$branchID}&browseType=unclosed¶m=0&storyType={$params[0]}");
|
||||
if($module == 'story' && $method == 'view') return helper::createLink('product', 'browse', "productID=%s&branch={$branchID}");
|
||||
|
||||
if($module == 'execution' && in_array($method, array('bug', 'testcase'))) return helper::createLink($module, $method, "executionID={$params[0]}&productID=%s{$branchParam}");
|
||||
if($module == 'product' && in_array($method, array('doc', 'view'))) return helper::createLink($module, $method, "productID=%s");
|
||||
|
||||
Reference in New Issue
Block a user