Add projects search

This commit is contained in:
Frederic Guillot
2017-11-16 14:53:05 -08:00
parent bda7f38ceb
commit 2eeca3db3a
4 changed files with 20 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ class GroupListController extends BaseController
$query = $this->groupModel->getQuery();
if ($search !== '') {
$query->ilike('name', '%'.$search.'%');
$query->ilike('groups.name', '%'.$search.'%');
}
$paginator = $this->paginator