We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 03b0470 + 1ed5b8e commit 381a33aCopy full SHA for 381a33a
src/app/code/community/FireGento/GridControl/Model/Processor.php
@@ -130,7 +130,11 @@ protected function _addAction($params)
130
$columnConfig[$attribute->getName()] = (string) $attribute;
131
}
132
133
-
+
134
+ if (isset($columnConfig['header'])) {
135
+ $columnConfig['header'] = $params->getBlock()->__($columnConfig['header']);
136
+ }
137
138
// add column to grid block
139
$params->getBlock()->addColumn($params->getColumn()->getName(), $columnConfig);
140
@@ -220,4 +224,4 @@ protected function removeGridColumn(Mage_Adminhtml_Block_Widget_Grid $grid, $col
220
224
$this->setGridProtectedPropertyValue($grid, $columnsPropertyName, $columns);
221
225
$this->setGridProtectedPropertyValue($grid, $lastColumnIdPropertyName, $lastColumnId);
222
226
223
-}
227
+}
0 commit comments