mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #94 from silverstripe-big-o/report-fixes
ENHANCEMENT: replacing ReportAdmin report listing paginator with a new f...
This commit is contained in:
commit
2592d62a4c
@ -192,12 +192,11 @@ class ReportAdmin extends LeftAndMain implements PermissionProvider {
|
||||
new GridFieldToolbarHeader(),
|
||||
new GridFieldSortableHeader(),
|
||||
new GridFieldDataColumns(),
|
||||
new GridFieldPaginator()
|
||||
new GridFieldFooter()
|
||||
);
|
||||
$gridField = new GridField('Reports','Reports', $this->Reports(), $gridFieldConfig);
|
||||
$gridField->setDisplayFields(array(
|
||||
'title' => 'Title',
|
||||
'description' => 'Description'
|
||||
));
|
||||
$gridField->setFieldFormatting(array(
|
||||
'title' => '<a href=\"$Link\">$value</a>'
|
||||
|
Loading…
Reference in New Issue
Block a user