We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555a134 commit c25c599Copy full SHA for c25c599
app/code/Magento/CatalogSearch/Model/Layer/Filter/Attribute.php
@@ -67,7 +67,8 @@ public function apply(\Magento\Framework\App\RequestInterface $request)
67
68
$labels = [];
69
foreach ((array) $attributeValue as $value) {
70
- $labels[] = (array) $this->getOptionText($value);
+ $label = $this->getOptionText($value);
71
+ $labels[] = is_array($label) ? $label : [$label];
72
}
73
$label = implode(',', array_unique(array_merge(...$labels)));
74
$this->getLayer()
0 commit comments