Permalink
Browse files

MINOR: Remove table filter from modeladmin search results

  • Loading branch information...
1 parent 5eef837 commit f367db29044448fb5359f54d8496e997d2f69f50 Andrew O'Neil committed with chillu Mar 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/code/ModelAdmin.php
View
2 admin/code/ModelAdmin.php
@@ -121,7 +121,7 @@ function getEditForm($id = null) {
$list,
$fieldConfig = GridFieldConfig_RecordEditor::create($this->stat('page_length'))
->addComponent(new GridFieldExportButton())
- ->removeComponentsByType('GridFieldFilter')
+ ->removeComponentsByType('GridFieldFilterHeader')
);
// Validation

0 comments on commit f367db2

Please sign in to comment.