mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Revert call to setCheckModelPermissions()
This commit is contained in:
parent
9c1a69ae08
commit
e8f6b416d7
@ -158,8 +158,7 @@ JS
|
|||||||
GridFieldLevelup::create($folder->ID)->setLinkSpec('admin/assets/show/%d')
|
GridFieldLevelup::create($folder->ID)->setLinkSpec('admin/assets/show/%d')
|
||||||
);
|
);
|
||||||
|
|
||||||
$gridField = GridField::create('File', $title, $this->getList(), $gridFieldConfig)
|
$gridField = GridField::create('File', $title, $this->getList(), $gridFieldConfig);
|
||||||
->setCheckModelPermissions(true);
|
|
||||||
$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');
|
$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');
|
||||||
$columns->setDisplayFields(array(
|
$columns->setDisplayFields(array(
|
||||||
'StripThumbnail' => '',
|
'StripThumbnail' => '',
|
||||||
|
Loading…
Reference in New Issue
Block a user