From 3317d87addb03688a08a7fb12200b4913125dba7 Mon Sep 17 00:00:00 2001 From: "Dzial Techniczny WMW Projekt s.c" Date: Wed, 11 Dec 2019 18:05:24 +0100 Subject: Default task sort for dashboard list changed --- app/Pagination/DashboardPagination.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Pagination/DashboardPagination.php') diff --git a/app/Pagination/DashboardPagination.php b/app/Pagination/DashboardPagination.php index 9669cb9d..69e8074a 100644 --- a/app/Pagination/DashboardPagination.php +++ b/app/Pagination/DashboardPagination.php @@ -34,8 +34,8 @@ class DashboardPagination extends Base $paginator = $this->paginator ->setUrl('DashboardController', 'show', array('user_id' => $userId, 'pagination' => 'tasks-'.$projectId), 'project-tasks-'.$projectId) ->setMax(15) - ->setOrder(TaskModel::TABLE.'.priority') - ->setDirection('DESC') + ->setOrder(TaskModel::TABLE.'.column_id') + ->setDirection('ASC') ->setFormatter($this->taskListSubtaskAssigneeFormatter->withUserId($userId)) ->setQuery($query) ->calculateOnlyIf($this->request->getStringParam('pagination') === 'tasks-'.$projectId); -- cgit v1.2.3