From 5d5ba443370df91d59812db5691fa846a9854837 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 9 May 2015 22:09:09 -0400 Subject: Update task links, assignee and time tracking (#775), group links by label (#669) Merge and modification of pull-request #785 --- app/Controller/Task.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Controller/Task.php') diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 5bca4510..866ef774 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -36,7 +36,7 @@ class Task extends Base 'project' => $project, 'comments' => $this->comment->getAll($task['id']), 'subtasks' => $this->subtask->getAll($task['id']), - 'links' => $this->taskLink->getLinks($task['id']), + 'links' => $this->taskLink->getAllGroupedByLabel($task['id']), 'task' => $task, 'columns_list' => $this->board->getColumnsList($task['project_id']), 'colors_list' => $this->color->getList(), @@ -72,7 +72,7 @@ class Task extends Base 'images' => $this->file->getAllImages($task['id']), 'comments' => $this->comment->getAll($task['id']), 'subtasks' => $subtasks, - 'links' => $this->taskLink->getLinks($task['id']), + 'links' => $this->taskLink->getAllGroupedByLabel($task['id']), 'task' => $task, 'values' => $values, 'link_label_list' => $this->link->getList(0, false), -- cgit v1.2.3