From 48acf99fd10da2bb755d56f9dfd7c0210e76abeb Mon Sep 17 00:00:00 2001 From: Craig Crosby Date: Tue, 2 Jul 2019 22:52:22 -0400 Subject: Sort columns by due date --- app/Template/board/table_column.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/Template/board') 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 @@
  • 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']]) ?>
  • +
  • + 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']]) ?> +
  • +
  • + 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']]) ?> +
  • hook->render('template:board:column:dropdown', array('swimlane' => $swimlane, 'column' => $column)) ?> -- cgit v1.2.3