Don't duplicate SS_Report title in GridField

This commit is contained in:
Ingo Schommer 2013-01-14 16:05:00 +01:00
parent 76aeec70e7
commit 93bee9422a

View File

@ -263,7 +263,7 @@ class SS_Report extends ViewableData {
new GridFieldPrintButton(),
new GridFieldExportButton()
);
$gridField = new GridField('Report',$this->title(), $items, $gridFieldConfig);
$gridField = new GridField('Report',false, $items, $gridFieldConfig);
$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');
$displayFields = array();
$fieldCasting = array();