summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Controller/ActivityController.php2
-rw-r--r--app/Controller/TaskViewController.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/app/Controller/ActivityController.php b/app/Controller/ActivityController.php
index 7a58e670..5db02529 100644
--- a/app/Controller/ActivityController.php
+++ b/app/Controller/ActivityController.php
@@ -56,7 +56,7 @@ class ActivityController extends BaseController
'task' => $task,
'project' => $this->projectModel->getById($task['project_id']),
'events' => $this->helper->projectActivity->getTaskEvents($task['id']),
- 'tags' => $this->taskTagModel->getList($task['id']),
+ 'tags' => $this->taskTagModel->getTagsByTask($task['id']),
)));
}
}
diff --git a/app/Controller/TaskViewController.php b/app/Controller/TaskViewController.php
index 9a39a3a9..05c59bc9 100644
--- a/app/Controller/TaskViewController.php
+++ b/app/Controller/TaskViewController.php
@@ -45,7 +45,7 @@ class TaskViewController extends BaseController
'task' => $task,
'columns_list' => $this->columnModel->getList($task['project_id']),
'colors_list' => $this->colorModel->getList(),
- 'tags' => $this->taskTagModel->getList($task['id']),
+ 'tags' => $this->taskTagModel->getTagsByTask($task['id']),
'title' => $task['title'],
'no_layout' => true,
'auto_refresh' => true,
@@ -93,7 +93,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']),
+ 'tags' => $this->taskTagModel->getTagsByTask($task['id']),
)));
}
@@ -118,7 +118,7 @@ class TaskViewController extends BaseController
'task' => $task,
'project' => $this->projectModel->getById($task['project_id']),
'subtask_paginator' => $subtask_paginator,
- 'tags' => $this->taskTagModel->getList($task['id']),
+ 'tags' => $this->taskTagModel->getTagsByTask($task['id']),
)));
}
@@ -135,7 +135,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']),
+ 'tags' => $this->taskTagModel->getTagsByTask($task['id']),
)));
}
}