summaryrefslogtreecommitdiff
path: root/app/Controller/GroupListController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/GroupListController.php')
-rw-r--r--app/Controller/GroupListController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/GroupListController.php b/app/Controller/GroupListController.php
index 9663638d..f56e63a4 100644
--- a/app/Controller/GroupListController.php
+++ b/app/Controller/GroupListController.php
@@ -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