summaryrefslogtreecommitdiff
path: root/app/Controller/Task.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-05-09 22:09:09 -0400
committerFrederic Guillot <fred@kanboard.net>2015-05-09 22:09:09 -0400
commit5d5ba443370df91d59812db5691fa846a9854837 (patch)
tree0849199fcdd743c359829e038d21f51df7e7307e /app/Controller/Task.php
parent0e019e8669090d4af1c325e49101d1dafcd7e690 (diff)
Update task links, assignee and time tracking (#775), group links by label (#669)
Merge and modification of pull-request #785
Diffstat (limited to 'app/Controller/Task.php')
-rw-r--r--app/Controller/Task.php4
1 files changed, 2 insertions, 2 deletions
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),