Permalink
Browse files

BUG: open/6875 removing DataGrid filter fields from track changes

  • Loading branch information...
1 parent 77d7122 commit 9d88169f3e3c39f8f9fa0d2312c11666e259a2bb @kmayo-ss kmayo-ss committed Jul 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 forms/gridfield/GridFieldFilterHeader.php
View
2 forms/gridfield/GridFieldFilterHeader.php
@@ -120,6 +120,7 @@ public function getHTMLFragments($gridField) {
}
$field = new TextField('filter['.$columnField.']', '', $value);
$field->addExtraClass('ss-gridfield-sort');
+ $field->addExtraClass('no-change-track');
$field->setAttribute('placeholder', _t('GridField.FilterBy', "Filter by ") . _t('GridField.'.$metadata['title'], $metadata['title']));
@@ -144,6 +145,7 @@ public function getHTMLFragments($gridField) {
->setAttribute('id', 'action_reset_' . $gridField->getModelClass() . '_' . $columnField)
);
$field->addExtraClass('filter-buttons');
+ $field->addExtraClass('no-change-track');
}else{
$field = new LiteralField('', '');
}

0 comments on commit 9d88169

Please sign in to comment.