summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2019-12-11 18:05:24 +0100
committerDzial Techniczny WMW Projekt s.c <techniczna@wmwprojekt.pl>2019-12-11 18:05:24 +0100
commit3317d87addb03688a08a7fb12200b4913125dba7 (patch)
tree20daf2312369c12729a0ba51ef37ef7ba2cda913 /app
parent6ac97a4ff1a71926545328c24fea8ae3c918a9ac (diff)
Default task sort for dashboard list changed
Diffstat (limited to 'app')
-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);