summaryrefslogtreecommitdiff
path: root/app/Helper/ProjectActivityHelper.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-10-09 20:53:14 -0400
committerFrederic Guillot <fred@kanboard.net>2016-10-09 20:53:14 -0400
commit9302ff82f3fbd2f8a257488b091ba2c0a0ce6289 (patch)
treeaa5f2f35ef72a95e05607c0a5b2598b1c5b968b2 /app/Helper/ProjectActivityHelper.php
parent9eefe6a35835c763c8447621fa63c3b8147b06b8 (diff)
Restrict search to active projects
Diffstat (limited to 'app/Helper/ProjectActivityHelper.php')
-rw-r--r--app/Helper/ProjectActivityHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Helper/ProjectActivityHelper.php b/app/Helper/ProjectActivityHelper.php
index 40f386db..704cd4fe 100644
--- a/app/Helper/ProjectActivityHelper.php
+++ b/app/Helper/ProjectActivityHelper.php
@@ -26,7 +26,7 @@ class ProjectActivityHelper extends Base
*/
public function searchEvents($search)
{
- $projects = $this->projectUserRoleModel->getProjectsByUser($this->userSession->getId());
+ $projects = $this->projectUserRoleModel->getActiveProjectsByUser($this->userSession->getId());
$events = array();
if ($search !== '') {