From 11d1da2d7915fef02e60fff787b1ea640f780cda Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 30 Apr 2017 14:00:37 -0400 Subject: Add sorting by position in task list view --- app/Template/task_list/sort_menu.php | 3 +++ app/Template/task_list/task_icons.php | 2 ++ 2 files changed, 5 insertions(+) (limited to 'app/Template/task_list') diff --git a/app/Template/task_list/sort_menu.php b/app/Template/task_list/sort_menu.php index 4d0b1189..a42fb46e 100644 --- a/app/Template/task_list/sort_menu.php +++ b/app/Template/task_list/sort_menu.php @@ -16,6 +16,9 @@
  • order(t('Priority'), \Kanboard\Model\TaskModel::TABLE.'.priority') ?>
  • +
  • + order(t('Position'), \Kanboard\Model\TaskModel::TABLE.'.position') ?> +
  • order(t('Title'), \Kanboard\Model\TaskModel::TABLE.'.title') ?>
  • diff --git a/app/Template/task_list/task_icons.php b/app/Template/task_list/task_icons.php index 528c99b3..6897c260 100644 --- a/app/Template/task_list/task_icons.php +++ b/app/Template/task_list/task_icons.php @@ -88,6 +88,8 @@ + () +
    dt->age($task['date_creation']) ?> -- cgit v1.2.3