summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Model/TaskFinderModel.php1
-rw-r--r--app/Template/task_list/sort_menu.php3
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>