Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 9d88169f3e3c39f8f9fa0d2312c11666e259a2bb 1 parent 77d7122
kmayo-ss authored July 04, 2012

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  forms/gridfield/GridFieldFilterHeader.php
2  forms/gridfield/GridFieldFilterHeader.php
@@ -120,6 +120,7 @@ public function getHTMLFragments($gridField) {
120 120
 				}
121 121
 				$field = new TextField('filter['.$columnField.']', '', $value);
122 122
 				$field->addExtraClass('ss-gridfield-sort');
  123
+				$field->addExtraClass('no-change-track');
123 124
 
124 125
 				$field->setAttribute('placeholder', _t('GridField.FilterBy', "Filter by ") . _t('GridField.'.$metadata['title'], $metadata['title']));
125 126
 
@@ -144,6 +145,7 @@ public function getHTMLFragments($gridField) {
144 145
 							->setAttribute('id', 'action_reset_' . $gridField->getModelClass() . '_' . $columnField)
145 146
 					);
146 147
 					$field->addExtraClass('filter-buttons');
  148
+					$field->addExtraClass('no-change-track');
147 149
 				}else{
148 150
 					$field = new LiteralField('', '');
149 151
 				}

0 notes on commit 9d88169

Please sign in to comment.
Something went wrong with that request. Please try again.