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
  • Loading branch information
Stanislav Idolov authored Oct 26, 2018
2 parents 1a19da0 + cef5301 commit ffd0c73
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 ffd0c73

Please sign in to comment.