UserController: Use "group" instead of "group_name" for the membership quicksearch
refs #10370
This commit is contained in:
parent
72f3ba1161
commit
7efefc1975
|
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue