diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-07-24 12:09:41 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-07-24 12:09:41 -0400 |
commit | 51b2193fc43a25f309a8510b64027d40bf21e12d (patch) | |
tree | 32683ee323de8260b24a2023401b720e56f5f58d /app/Template/dashboard/subtasks.php | |
parent | 506ebf3bac302a63be7c32a03b872a9eefa689fc (diff) |
Move dashboard pagination into separate classes
Diffstat (limited to 'app/Template/dashboard/subtasks.php')
-rw-r--r-- | app/Template/dashboard/subtasks.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/dashboard/subtasks.php b/app/Template/dashboard/subtasks.php index 8e0aa3ce..ca550e4c 100644 --- a/app/Template/dashboard/subtasks.php +++ b/app/Template/dashboard/subtasks.php @@ -6,10 +6,10 @@ <?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'), 'task_name') ?></th> - <th><?= $paginator->order(t('Subtask'), 'title') ?></th> + <th><?= $paginator->order(t('Subtask'), \Kanboard\Model\SubtaskModel::TABLE.'.title') ?></th> <th class="column-20"><?= t('Time tracking') ?></th> </tr> <?php foreach ($paginator->getCollection() as $subtask): ?> |