Browse files

MINOR Don't show title on reports GridField (duplicates the section t…

…itle)
  • Loading branch information...
1 parent 2fdc4e5 commit d072f715b72cc465a91cf45617adfabd0a635b06 @chillu chillu committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controllers/ReportAdmin.php
View
2 code/controllers/ReportAdmin.php
@@ -195,7 +195,7 @@ public function getEditForm($id = null, $fields = null) {
new GridFieldDataColumns(),
new GridFieldFooter()
);
- $gridField = new GridField('Reports','Reports', $this->Reports(), $gridFieldConfig);
+ $gridField = new GridField('Reports',false, $this->Reports(), $gridFieldConfig);
$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');
$columns->setDisplayFields(array(
'title' => 'Title',

0 comments on commit d072f71

Please sign in to comment.