From 216604a66234c58db4103a148f1a8645e9abfd98 Mon Sep 17 00:00:00 2001 From: AI3Zakir Date: Wed, 12 Dec 2018 11:24:16 +0600 Subject: Add sorting by reference in list view --- app/Model/TaskFinderModel.php | 1 + app/Template/task_list/sort_menu.php | 3 +++ 2 files changed, 4 insertions(+) (limited to 'app') diff --git a/app/Model/TaskFinderModel.php b/app/Model/TaskFinderModel.php index 0c96a821..8e6b081a 100644 --- a/app/Model/TaskFinderModel.php +++ b/app/Model/TaskFinderModel.php @@ -117,6 +117,7 @@ class TaskFinderModel extends Base TaskModel::TABLE.'.recurrence_child', TaskModel::TABLE.'.time_estimated', TaskModel::TABLE.'.time_spent', + TaskModel::TABLE.'.reference', UserModel::TABLE.'.username AS assignee_username', UserModel::TABLE.'.name AS assignee_name', UserModel::TABLE.'.email AS assignee_email', diff --git a/app/Template/task_list/sort_menu.php b/app/Template/task_list/sort_menu.php index a42fb46e..e0322d78 100644 --- a/app/Template/task_list/sort_menu.php +++ b/app/Template/task_list/sort_menu.php @@ -34,5 +34,8 @@
  • order(t('Status'), \Kanboard\Model\TaskModel::TABLE.'.is_active') ?>
  • +
  • + order(t('Reference'), \Kanboard\Model\TaskModel::TABLE.'.reference') ?> +
  • -- cgit v1.2.3