summaryrefslogtreecommitdiff
path: root/app/Template/board/table_column.php
diff options
context:
space:
mode:
authorCraig Crosby <creecros@gmail.com>2019-07-02 22:52:22 -0400
committerfguillot <fred@kanboard.net>2019-07-02 19:52:22 -0700
commit48acf99fd10da2bb755d56f9dfd7c0210e76abeb (patch)
tree042eff2af1822c77b40591d938f5eafe26add05a /app/Template/board/table_column.php
parentefed94b23d592647f889ef03b144a91e8fbb6098 (diff)
Sort columns by due date
Diffstat (limited to 'app/Template/board/table_column.php')
-rw-r--r--app/Template/board/table_column.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Template/board/table_column.php b/app/Template/board/table_column.php
index 5515945b..0ede0db3 100644
--- a/app/Template/board/table_column.php
+++ b/app/Template/board/table_column.php
@@ -67,6 +67,12 @@
<li>
<?= $this->url->icon('sort-alpha-desc', t('Reorder this column by assignee (Z-A)'), 'TaskReorderController', 'reorderColumn', ['sort' => 'assignee', 'direction' => 'desc', 'project_id' => $column['project_id'], 'column_id' => $column['id'], 'swimlane_id' => $swimlane['id']]) ?>
</li>
+ <li>
+ <?= $this->url->icon('sort-numeric-asc', t('Reorder this column by due date (ASC)'), 'TaskReorderController', 'reorderColumn', ['sort' => 'due-date', 'direction' => 'asc', 'project_id' => $column['project_id'], 'column_id' => $column['id'], 'swimlane_id' => $swimlane['id']]) ?>
+ </li>
+ <li>
+ <?= $this->url->icon('sort-numeric-desc', t('Reorder this column by due date (DESC)'), 'TaskReorderController', 'reorderColumn', ['sort' => 'due-date', 'direction' => 'desc', 'project_id' => $column['project_id'], 'column_id' => $column['id'], 'swimlane_id' => $swimlane['id']]) ?>
+ </li>
<?php endif ?>
<?= $this->hook->render('template:board:column:dropdown', array('swimlane' => $swimlane, 'column' => $column)) ?>