User-/GroupController: Register search columns to support quick searches

fixes #9353
This commit is contained in:
Johannes Meyer 2015-06-03 09:16:05 +02:00
parent dd7cbf4b69
commit 916a26572b
2 changed files with 2 additions and 0 deletions

View File

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

View File

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