Skip to content

Commit cef5301

Browse files
ENGCOM-3227: MAGETWO-34709 Changing empty label value for first option on dropdown filters. #120
- Merge Pull Request magento-engcom/import-export-improvements#120 from valentinboyanov/import-export-improvements:MAGETWO-34709-fix-select-type-filter - Merged commits: 1. e258878
2 parents f710f9b + e258878 commit cef5301

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/ImportExport/Block/Adminhtml/Export

1 file changed

+1
-1
lines changed

app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ protected function _getSelectHtmlWithValue(Attribute $attribute, $value)
250250
if ('' === $firstOption['value']) {
251251
$options[key($options)]['label'] = '';
252252
} else {
253-
array_unshift($options, ['value' => '', 'label' => '']);
253+
array_unshift($options, ['value' => '', 'label' => __('-- Not Selected --')]);
254254
}
255255
$arguments = [
256256
'name' => $this->getFilterElementName($attribute->getAttributeCode()),

0 commit comments

Comments
 (0)