mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #6797 from halkyon/broken-group-search
Fixing broken search in SecurityAdmin Groups field
This commit is contained in:
commit
3883878c13
@ -94,10 +94,10 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
);
|
||||
$columns = $groupList->getConfig()->getComponentByType('GridFieldDataColumns');
|
||||
$columns->setDisplayFields(array(
|
||||
'Breadcrumbs' => singleton('Group')->fieldLabel('Title')
|
||||
'Title' => singleton('Group')->fieldLabel('Title')
|
||||
));
|
||||
$columns->setFieldFormatting(array(
|
||||
'Breadcrumbs' => function($val, $item) {
|
||||
'Title' => function($val, $item) {
|
||||
return Convert::raw2xml($item->getBreadcrumbs(' > '));
|
||||
}
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user