From 916a26572becebe483462b506d0f7acd3ef9824c Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 3 Jun 2015 09:16:05 +0200 Subject: [PATCH] User-/GroupController: Register search columns to support quick searches fixes #9353 --- application/controllers/GroupController.php | 1 + application/controllers/UserController.php | 1 + 2 files changed, 2 insertions(+) diff --git a/application/controllers/GroupController.php b/application/controllers/GroupController.php index 1e7090019..8f2c33e62 100644 --- a/application/controllers/GroupController.php +++ b/application/controllers/GroupController.php @@ -53,6 +53,7 @@ class GroupController extends AuthBackendController $query = $backend->select(array('group_name')); $filterEditor = Widget::create('filterEditor') ->setQuery($query) + ->setSearchColumns(array('group', 'user')) ->preserveParams('limit', 'sort', 'dir', 'view', 'backend') ->ignoreParams('page') ->handleRequest($this->getRequest()); diff --git a/application/controllers/UserController.php b/application/controllers/UserController.php index 6fec397cd..e944af52c 100644 --- a/application/controllers/UserController.php +++ b/application/controllers/UserController.php @@ -53,6 +53,7 @@ class UserController extends AuthBackendController $query = $backend->select(array('user_name')); $filterEditor = Widget::create('filterEditor') ->setQuery($query) + ->setSearchColumns(array('user')) ->preserveParams('limit', 'sort', 'dir', 'view', 'backend') ->ignoreParams('page') ->handleRequest($this->getRequest());