* Fix bug for kanban execution.

This commit is contained in:
liumengyi
2022-01-13 11:58:28 +08:00
parent e82f0f5655
commit 0aba204fbf
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -1290,6 +1290,12 @@ class actionModel extends model
}
$action->objectLink = helper::createLink($moduleName, $methodName, $params);
if($action->objectType == 'execution')
{
$execution = $this->loadModel('execution')->getById($action->objectID);
if($execution->type == 'kanban') $action->objectLink = helper::createLink('execution', 'kanban', "executionID={$action->objectID}");
}
if($action->objectType == 'doclib')
{
$docLib = $this->dao->select('type,product,project,execution,deleted')->from(TABLE_DOCLIB)->where('id')->eq($action->objectID)->fetch();