Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 9d88169f3e3c39f8f9fa0d2312c11666e259a2bb 1 parent 77d7122
@kmayo-ss kmayo-ss authored
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('', '');
}
Please sign in to comment.
Something went wrong with that request. Please try again.