summaryrefslogtreecommitdiff
path: root/app/Controller/Analytic.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/Analytic.php
parentd0af39170c2c53cf7aa5178a0563bd0d2c667d46 (diff)
Show only active projects in board selector
Diffstat (limited to 'app/Controller/Analytic.php')
-rw-r--r--app/Controller/Analytic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Analytic.php b/app/Controller/Analytic.php
index bebb13fa..b2e27c58 100644
--- a/app/Controller/Analytic.php
+++ b/app/Controller/Analytic.php
@@ -21,7 +21,7 @@ class Analytic extends Base
*/
private function layout($template, array $params)
{
- $params['board_selector'] = $this->projectUserRole->getProjectsByUser($this->userSession->getId());
+ $params['board_selector'] = $this->projectUserRole->getActiveProjectsByUser($this->userSession->getId());
$params['content_for_sublayout'] = $this->template->render($template, $params);
return $this->template->layout('analytic/layout', $params);