UserController: Use "group" instead of "group_name" for the membership quicksearch

refs #10370
This commit is contained in:
Johannes Meyer 2015-11-10 11:52:54 +01:00
parent 72f3ba1161
commit 7efefc1975
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class UserController extends AuthBackendController
$this->setupFilterControl( $this->setupFilterControl(
$memberships, $memberships,
array('group_name' => t('User Group')), array('group_name' => t('User Group')),
array('group_name'), array('group'),
array('user') array('user')
); );
$this->setupPaginationControl($memberships); $this->setupPaginationControl($memberships);
@ -260,6 +260,7 @@ class UserController extends AuthBackendController
$alreadySeen[$groupName] = null; $alreadySeen[$groupName] = null;
$groups[] = (object) array( $groups[] = (object) array(
'group_name' => $groupName, 'group_name' => $groupName,
'group' => $groupName,
'backend' => $backend 'backend' => $backend
); );
} }