From 9302ff82f3fbd2f8a257488b091ba2c0a0ce6289 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 9 Oct 2016 20:53:14 -0400 Subject: Restrict search to active projects --- app/Controller/SearchController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/SearchController.php') diff --git a/app/Controller/SearchController.php b/app/Controller/SearchController.php index 8557b182..c9213085 100644 --- a/app/Controller/SearchController.php +++ b/app/Controller/SearchController.php @@ -14,7 +14,7 @@ class SearchController extends BaseController { public function index() { - $projects = $this->projectUserRoleModel->getProjectsByUser($this->userSession->getId()); + $projects = $this->projectUserRoleModel->getActiveProjectsByUser($this->userSession->getId()); $search = urldecode($this->request->getStringParam('search')); $nb_tasks = 0; -- cgit v1.2.3