Skip to content
This repository
Browse code

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

… bar
  • Loading branch information...
commit 7900da4d9dfb43fba2031dd6318eebfdbb2c98e3 1 parent c7aa3e1
Normann Lou authored April 11, 2012

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  code/controllers/ReportAdmin.php
3  code/controllers/ReportAdmin.php
@@ -191,7 +191,8 @@ public function getEditForm($id = null, $fields = null) {
191 191
 			$gridFieldConfig = GridFieldConfig::create()->addComponents(
192 192
 				new GridFieldToolbarHeader(),
193 193
 				new GridFieldSortableHeader(),
194  
-				new GridFieldDataColumns()
  194
+				new GridFieldDataColumns(),
  195
+				new GridFieldPaginator()
195 196
 			);
196 197
 			$gridField = new GridField('Reports','Reports', $this->Reports(), $gridFieldConfig);
197 198
 			$gridField->setDisplayFields(array(

0 notes on commit 7900da4

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