Skip to content

Commit

Permalink
ENGCOM-3227: MAGETWO-34709 Changing empty label value for first optio…
Browse files Browse the repository at this point in the history
…n 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
  • Loading branch information
magento-engcom-team committed Oct 19, 2018
2 parents f710f9b + e258878 commit cef5301
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ protected function _getSelectHtmlWithValue(Attribute $attribute, $value)
if ('' === $firstOption['value']) {
$options[key($options)]['label'] = '';
} else {
array_unshift($options, ['value' => '', 'label' => '']);
array_unshift($options, ['value' => '', 'label' => __('-- Not Selected --')]);
}
$arguments = [
'name' => $this->getFilterElementName($attribute->getAttributeCode()),
Expand Down

0 comments on commit cef5301

Please sign in to comment.