mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
FIX Fixes #965. Allow user date-settings to show on GridField Page admin
- Relies on framework PR #2961.
This commit is contained in:
parent
403b47fe6c
commit
b4a1aa4537
@ -754,7 +754,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
$columns->setDisplayFields($fields);
|
$columns->setDisplayFields($fields);
|
||||||
$columns->setFieldCasting(array(
|
$columns->setFieldCasting(array(
|
||||||
'Created' => 'Datetime->Ago',
|
'Created' => 'Datetime->Ago',
|
||||||
'LastEdited' => 'Datetime->Ago',
|
'LastEdited' => 'Datetime->FormatFromSettings',
|
||||||
'getTreeTitle' => 'HTMLText'
|
'getTreeTitle' => 'HTMLText'
|
||||||
));
|
));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user