summaryrefslogtreecommitdiff
path: root/app/Controller/App.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/App.php')
-rw-r--r--app/Controller/App.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Controller/App.php b/app/Controller/App.php
index 46731e7c..ebe39670 100644
--- a/app/Controller/App.php
+++ b/app/Controller/App.php
@@ -46,21 +46,21 @@ class App extends Base
$project_ids = array_keys($projects);
$task_paginator = $this->paginator
- ->setUrl('app', $action, array('pagination' => 'tasks'))
+ ->setUrl('app', $action, array('pagination' => 'tasks', 'user_id' => $user_id))
->setMax(10)
->setOrder('tasks.id')
->setQuery($this->taskFinder->getUserQuery($user_id))
->calculateOnlyIf($this->request->getStringParam('pagination') === 'tasks');
$subtask_paginator = $this->paginator
- ->setUrl('app', $action, array('pagination' => 'subtasks'))
+ ->setUrl('app', $action, array('pagination' => 'subtasks', 'user_id' => $user_id))
->setMax(10)
->setOrder('tasks.id')
->setQuery($this->subtask->getUserQuery($user_id, $status))
->calculateOnlyIf($this->request->getStringParam('pagination') === 'subtasks');
$project_paginator = $this->paginator
- ->setUrl('app', $action, array('pagination' => 'projects'))
+ ->setUrl('app', $action, array('pagination' => 'projects', 'user_id' => $user_id))
->setMax(10)
->setOrder('name')
->setQuery($this->project->getQueryColumnStats($project_ids))