Skip to content

Commit c48870b

Browse files
committed
Merge remote-tracking branch 'l3/MC-41151' into 2.4-bugfixes-031921
2 parents bedc1cc + d7bdc61 commit c48870b

File tree

2 files changed

+251
-241
lines changed

2 files changed

+251
-241
lines changed

app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ protected function _getSelectHtmlWithValue(Attribute $attribute, $value)
274274
'',
275275
['data' => $arguments]
276276
);
277-
return $selectBlock->setOptions($options)->setValue($value)->getHtml();
277+
return $selectBlock->setOptions($options)->setValue($value !== '' ? $value : null)->getHtml();
278278
} else {
279279
return __('We can\'t filter an attribute with no attribute options.');
280280
}

0 commit comments

Comments
 (0)