Restrict search to active projects

This commit is contained in:
Frederic Guillot
2016-10-09 20:53:14 -04:00
parent 9eefe6a358
commit 9302ff82f3
2 changed files with 2 additions and 2 deletions

View File

@@ -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;