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.
2 parents 3433214 + c25c599 commit 714642fCopy full SHA for 714642f
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