Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit ffd0c73

Browse files
author
Stanislav Idolov
authored
ENGCOM-3227: MAGETWO-34709 Changing empty label value for first option on dropdown filters. #120
2 parents 1a19da0 + cef5301 commit ffd0c73

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)