User-/GroupController: Register search columns to support quick searches
fixes #9353
This commit is contained in:
parent
dd7cbf4b69
commit
916a26572b
|
@ -53,6 +53,7 @@ class GroupController extends AuthBackendController
|
||||||
$query = $backend->select(array('group_name'));
|
$query = $backend->select(array('group_name'));
|
||||||
$filterEditor = Widget::create('filterEditor')
|
$filterEditor = Widget::create('filterEditor')
|
||||||
->setQuery($query)
|
->setQuery($query)
|
||||||
|
->setSearchColumns(array('group', 'user'))
|
||||||
->preserveParams('limit', 'sort', 'dir', 'view', 'backend')
|
->preserveParams('limit', 'sort', 'dir', 'view', 'backend')
|
||||||
->ignoreParams('page')
|
->ignoreParams('page')
|
||||||
->handleRequest($this->getRequest());
|
->handleRequest($this->getRequest());
|
||||||
|
|
|
@ -53,6 +53,7 @@ class UserController extends AuthBackendController
|
||||||
$query = $backend->select(array('user_name'));
|
$query = $backend->select(array('user_name'));
|
||||||
$filterEditor = Widget::create('filterEditor')
|
$filterEditor = Widget::create('filterEditor')
|
||||||
->setQuery($query)
|
->setQuery($query)
|
||||||
|
->setSearchColumns(array('user'))
|
||||||
->preserveParams('limit', 'sort', 'dir', 'view', 'backend')
|
->preserveParams('limit', 'sort', 'dir', 'view', 'backend')
|
||||||
->ignoreParams('page')
|
->ignoreParams('page')
|
||||||
->handleRequest($this->getRequest());
|
->handleRequest($this->getRequest());
|
||||||
|
|
Loading…
Reference in New Issue