Skip to content

Commit

Permalink
update filter.php $value param was overridden by optionValues.
Browse files Browse the repository at this point in the history
  • Loading branch information
irajneeshgupta authored Jan 25, 2019
1 parent 7e46917 commit de2010c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ protected function _getSelectHtmlWithValue(Attribute $attribute, $value)
if ($attribute->getFilterOptions()) {
$options = [];

foreach ($attribute->getFilterOptions() as $filterOptions => $label) {
$options[] = ['value' => $filterOptions, 'label' => $label];
foreach ($attribute->getFilterOptions() as $optionValue => $label) {
$options[] = ['value' => $optionValue, 'label' => $label];
}
} else {
$options = $attribute->getSource()->getAllOptions(false);
Expand Down

0 comments on commit de2010c

Please sign in to comment.