summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-26 15:18:49 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-26 15:18:49 -0500
commit4a87fb34ba0a88303282923a73a8fef83d7aada3 (patch)
tree885aab3106a89130fea3aa83e4fe97526a37e43d /app/Controller
parent9bcf97a6c9110afd62b542b92d07d27f945eda96 (diff)
Display tags in task list view
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/TaskListController.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/Controller/TaskListController.php b/app/Controller/TaskListController.php
index 3f48be85..b3709a18 100644
--- a/app/Controller/TaskListController.php
+++ b/app/Controller/TaskListController.php
@@ -28,6 +28,7 @@ class TaskListController extends BaseController
->setMax(30)
->setOrder(TaskModel::TABLE.'.id')
->setDirection('DESC')
+ ->setFormatter($this->taskListFormatter)
->setQuery($this->taskLexer
->build($search)
->withFilter(new TaskProjectFilter($project['id']))
@@ -36,10 +37,10 @@ class TaskListController extends BaseController
->calculate();
$this->response->html($this->helper->layout->app('task_list/listing', array(
- 'project' => $project,
- 'title' => $project['name'],
+ 'project' => $project,
+ 'title' => $project['name'],
'description' => $this->helper->projectHeader->getDescription($project),
- 'paginator' => $paginator,
+ 'paginator' => $paginator,
)));
}
}