summaryrefslogtreecommitdiff
path: root/app/Controller/Gantt.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-17 21:38:13 -0500
committerFrederic Guillot <fred@kanboard.net>2015-12-17 21:38:13 -0500
commitc83f589b22cd548c6de10bfb0c18f767ba7dffd8 (patch)
treea5842339000632f2270f7732bfd67d46fe88b4cd /app/Controller/Gantt.php
parentd0af39170c2c53cf7aa5178a0563bd0d2c667d46 (diff)
Show only active projects in board selector
Diffstat (limited to 'app/Controller/Gantt.php')
-rw-r--r--app/Controller/Gantt.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Gantt.php b/app/Controller/Gantt.php
index f3954a25..ac0e6fad 100644
--- a/app/Controller/Gantt.php
+++ b/app/Controller/Gantt.php
@@ -26,7 +26,7 @@ class Gantt extends Base
$this->response->html($this->template->layout('gantt/projects', array(
'projects' => $this->projectGanttFormatter->filter($project_ids)->format(),
'title' => t('Gantt chart for all projects'),
- 'board_selector' => $this->projectUserRole->getProjectsByUser($this->userSession->getId()),
+ 'board_selector' => $this->projectUserRole->getActiveProjectsByUser($this->userSession->getId()),
)));
}