Split Board model into multiple classes
This commit is contained in:
@@ -36,7 +36,7 @@ class Task extends Base
|
||||
'subtasks' => $this->subtask->getAll($task['id']),
|
||||
'links' => $this->taskLink->getAllGroupedByLabel($task['id']),
|
||||
'task' => $task,
|
||||
'columns_list' => $this->board->getColumnsList($task['project_id']),
|
||||
'columns_list' => $this->column->getList($task['project_id']),
|
||||
'colors_list' => $this->color->getList(),
|
||||
'title' => $task['title'],
|
||||
'no_layout' => true,
|
||||
@@ -74,7 +74,7 @@ class Task extends Base
|
||||
'task' => $task,
|
||||
'values' => $values,
|
||||
'link_label_list' => $this->link->getList(0, false),
|
||||
'columns_list' => $this->board->getColumnsList($task['project_id']),
|
||||
'columns_list' => $this->column->getList($task['project_id']),
|
||||
'colors_list' => $this->color->getList(),
|
||||
'users_list' => $this->projectUserRole->getAssignableUsersList($task['project_id'], true, false, false),
|
||||
'title' => $task['project_name'].' > '.$task['title'],
|
||||
|
||||
Reference in New Issue
Block a user