mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +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 GridFieldToolbarHeader(),
|
||||||
new GridFieldSortableHeader(),
|
new GridFieldSortableHeader(),
|
||||||
new GridFieldDataColumns(),
|
new GridFieldDataColumns(),
|
||||||
new GridFieldPaginator()
|
new GridFieldFooter()
|
||||||
);
|
);
|
||||||
$gridField = new GridField('Reports','Reports', $this->Reports(), $gridFieldConfig);
|
$gridField = new GridField('Reports','Reports', $this->Reports(), $gridFieldConfig);
|
||||||
$gridField->setDisplayFields(array(
|
$gridField->setDisplayFields(array(
|
||||||
'title' => 'Title',
|
'title' => 'Title',
|
||||||
'description' => 'Description'
|
|
||||||
));
|
));
|
||||||
$gridField->setFieldFormatting(array(
|
$gridField->setFieldFormatting(array(
|
||||||
'title' => '<a href=\"$Link\">$value</a>'
|
'title' => '<a href=\"$Link\">$value</a>'
|
||||||
|
Loading…
Reference in New Issue
Block a user