MINOR: Remove table filter from modeladmin search results

This commit is contained in:
Andrew O'Neil 2012-03-13 10:35:24 +13:00 committed by Ingo Schommer
parent 5eef837ce8
commit f367db2904

View File

@ -121,7 +121,7 @@ abstract class ModelAdmin extends LeftAndMain {
$list, $list,
$fieldConfig = GridFieldConfig_RecordEditor::create($this->stat('page_length')) $fieldConfig = GridFieldConfig_RecordEditor::create($this->stat('page_length'))
->addComponent(new GridFieldExportButton()) ->addComponent(new GridFieldExportButton())
->removeComponentsByType('GridFieldFilter') ->removeComponentsByType('GridFieldFilterHeader')
); );
// Validation // Validation