summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Pagination/DashboardPagination.php4
1 files changed, 2 insertions, 2 deletions
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);