Skip to content
Browse files

MINOR SSF-168 add Pagination to the report list so it show the bottom…

… bar
  • Loading branch information...
1 parent c7aa3e1 commit 7900da4d9dfb43fba2031dd6318eebfdbb2c98e3 @normann normann committed Apr 11, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 code/controllers/ReportAdmin.php
View
3 code/controllers/ReportAdmin.php
@@ -191,7 +191,8 @@ public function getEditForm($id = null, $fields = null) {
$gridFieldConfig = GridFieldConfig::create()->addComponents(
new GridFieldToolbarHeader(),
new GridFieldSortableHeader(),
- new GridFieldDataColumns()
+ new GridFieldDataColumns(),
+ new GridFieldPaginator()
);
$gridField = new GridField('Reports','Reports', $this->Reports(), $gridFieldConfig);
$gridField->setDisplayFields(array(

0 comments on commit 7900da4

Please sign in to comment.
Something went wrong with that request. Please try again.