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:
Ingo Schommer 2012-04-12 05:14:30 -07:00
commit 2592d62a4c

View File

@ -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>'