summaryrefslogtreecommitdiff
path: root/app/Template/dashboard/projects.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/projects.php
parent506ebf3bac302a63be7c32a03b872a9eefa689fc (diff)
Move dashboard pagination into separate classes
Diffstat (limited to 'app/Template/dashboard/projects.php')
-rw-r--r--app/Template/dashboard/projects.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/dashboard/projects.php b/app/Template/dashboard/projects.php
index 962e4d83..3a7f1d86 100644
--- a/app/Template/dashboard/projects.php
+++ b/app/Template/dashboard/projects.php
@@ -6,8 +6,8 @@
<?php else: ?>
<table class="table-fixed table-small">
<tr>
- <th class="column-5"><?= $paginator->order('Id', 'id') ?></th>
- <th class="column-3"><?= $paginator->order('<i class="fa fa-lock fa-fw" title="'.t('Private project').'"></i>', 'is_private') ?></th>
+ <th class="column-5"><?= $paginator->order('Id', \Kanboard\Model\ProjectModel::TABLE.'.id') ?></th>
+ <th class="column-3"><?= $paginator->order('<i class="fa fa-lock fa-fw" title="'.t('Private project').'"></i>', \Kanboard\Model\ProjectModel::TABLE.'.is_private') ?></th>
<th class="column-25"><?= $paginator->order(t('Project'), \Kanboard\Model\ProjectModel::TABLE.'.name') ?></th>
<th class="column-10"><?= t('Tasks') ?></th>
<th><?= t('Columns') ?></th>