summaryrefslogtreecommitdiff
path: root/app/Template/dashboard/tasks.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-24 12:09:41 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-24 12:09:41 -0400
commit51b2193fc43a25f309a8510b64027d40bf21e12d (patch)
tree32683ee323de8260b24a2023401b720e56f5f58d /app/Template/dashboard/tasks.php
parent506ebf3bac302a63be7c32a03b872a9eefa689fc (diff)
Move dashboard pagination into separate classes
Diffstat (limited to 'app/Template/dashboard/tasks.php')
-rw-r--r--app/Template/dashboard/tasks.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/dashboard/tasks.php b/app/Template/dashboard/tasks.php
index b3257c33..d9cb4f9e 100644
--- a/app/Template/dashboard/tasks.php
+++ b/app/Template/dashboard/tasks.php
@@ -6,12 +6,12 @@
<?php else: ?>
<table class="table-fixed table-small">
<tr>
- <th class="column-5"><?= $paginator->order('Id', 'tasks.id') ?></th>
+ <th class="column-5"><?= $paginator->order('Id', \Kanboard\Model\TaskModel::TABLE.'.id') ?></th>
<th class="column-20"><?= $paginator->order(t('Project'), 'project_name') ?></th>
- <th><?= $paginator->order(t('Task'), 'title') ?></th>
- <th class="column-5"><?= $paginator->order(t('Priority'), 'tasks.priority') ?></th>
+ <th><?= $paginator->order(t('Task'), \Kanboard\Model\TaskModel::TABLE.'.title') ?></th>
+ <th class="column-5"><?= $paginator->order(t('Priority'), \Kanboard\Model\TaskModel::TABLE.'.priority') ?></th>
<th class="column-20"><?= t('Time tracking') ?></th>
- <th class="column-10"><?= $paginator->order(t('Due date'), 'date_due') ?></th>
+ <th class="column-10"><?= $paginator->order(t('Due date'), \Kanboard\Model\TaskModel::TABLE.'.date_due') ?></th>
<th class="column-10"><?= $paginator->order(t('Column'), 'column_title') ?></th>
</tr>
<?php foreach ($paginator->getCollection() as $task): ?>