diff options
author | AI3Zakir <AI3Zakir@users.noreply.github.com> | 2018-12-12 11:24:16 +0600 |
---|---|---|
committer | fguillot <fred@kanboard.net> | 2018-12-11 21:24:16 -0800 |
commit | 216604a66234c58db4103a148f1a8645e9abfd98 (patch) | |
tree | 3ddd3b7b2fde7122a796d756d5a4303fc92fd057 /app | |
parent | 8030353e14926b49b00e3c0d5debcd467999d140 (diff) |
Add sorting by reference in list view
Diffstat (limited to 'app')
-rw-r--r-- | app/Model/TaskFinderModel.php | 1 | ||||
-rw-r--r-- | app/Template/task_list/sort_menu.php | 3 |
2 files changed, 4 insertions, 0 deletions
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 @@ <li> <?= $paginator->order(t('Status'), \Kanboard\Model\TaskModel::TABLE.'.is_active') ?> </li> + <li> + <?= $paginator->order(t('Reference'), \Kanboard\Model\TaskModel::TABLE.'.reference') ?> + </li> </ul> </div> |