Skip to content

Commit

Permalink
MAGETWO-34709 Changing empty label value for first option.
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinboyanov committed Oct 8, 2018
1 parent 80469a6 commit e258878
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 e258878

Please sign in to comment.