* Fix bug #38808.
This commit is contained in:
@@ -1973,6 +1973,11 @@ class actionModel extends model
|
||||
{
|
||||
$execution = $this->loadModel('execution')->getById($action->objectID);
|
||||
if(!empty($execution) and $execution->type == 'kanban') $action->objectLink = helper::createLink('execution', 'kanban', "executionID={$action->objectID}");
|
||||
if($execution->type == 'stage' and $execution->attribute == 'research' and $action->vision == 'or')
|
||||
{
|
||||
$action->objectLink = '';
|
||||
$action->objectLabel = $this->lang->execution->stage;
|
||||
}
|
||||
}
|
||||
|
||||
if($action->objectType == 'story')
|
||||
@@ -2085,6 +2090,12 @@ class actionModel extends model
|
||||
if(!empty($action->objectLink) and !empty($project) and empty($project->multiple)) $action->objectLink .= '#app=project';
|
||||
if($this->config->vision == 'lite' and $action->objectType == 'module') $action->objectLink .= '#app=project';
|
||||
|
||||
if($action->objectType == 'task' and $this->config->vision == 'or')
|
||||
{
|
||||
$task = $this->dao->select('*')->from(TABLE_TASK)->where('id')->eq($action->objectID)->fetch();
|
||||
if($task->type == 'research') $action->objectLink = helper::createLink('marketresearch', 'viewTask', "objectID=$action->objectID");
|
||||
}
|
||||
|
||||
return $action;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user