summaryrefslogtreecommitdiff
path: root/app/Controller/TaskViewController.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-13 20:23:04 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-13 20:23:04 -0400
commit521379a350da1e67be88a81f0434ec8f5df37e5e (patch)
treeb034123255ce2b65d96131d34bae2157483ab73b /app/Controller/TaskViewController.php
parentada3e6f89d5adc73eb1ede2a49447cea86b89c53 (diff)
Display same task summary on all task view pages
Diffstat (limited to 'app/Controller/TaskViewController.php')
-rw-r--r--app/Controller/TaskViewController.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Controller/TaskViewController.php b/app/Controller/TaskViewController.php
index e40ebdc0..36597457 100644
--- a/app/Controller/TaskViewController.php
+++ b/app/Controller/TaskViewController.php
@@ -91,6 +91,7 @@ class TaskViewController extends BaseController
'lead_time' => $this->taskAnalyticModel->getLeadTime($task),
'cycle_time' => $this->taskAnalyticModel->getCycleTime($task),
'time_spent_columns' => $this->taskAnalyticModel->getTimeSpentByColumn($task),
+ 'tags' => $this->taskTagModel->getList($task['id']),
)));
}
@@ -115,6 +116,7 @@ class TaskViewController extends BaseController
'task' => $task,
'project' => $this->projectModel->getById($task['project_id']),
'subtask_paginator' => $subtask_paginator,
+ 'tags' => $this->taskTagModel->getList($task['id']),
)));
}
@@ -131,6 +133,7 @@ class TaskViewController extends BaseController
'task' => $task,
'project' => $this->projectModel->getById($task['project_id']),
'transitions' => $this->transitionModel->getAllByTask($task['id']),
+ 'tags' => $this->taskTagModel->getList($task['id']),
)));
}
}