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 committed Jan 31, 2019
1 parent 05bc8a6 commit 34da4ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,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 34da4ca

Please sign in to comment.