Skip to content

Commit 2c62aa3

Browse files
author
Marcel Moldovan
committed
🐛 Fix wrong store id filter
1 parent 9dd7c72 commit 2c62aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogSearch/Model/Search/FilterMapper/TermDropdownStrategy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function apply(
101101
'search_index.entity_id = %1$s.entity_id AND %1$s.attribute_id = %2$d AND %1$s.store_id = %3$d',
102102
$alias,
103103
$attribute->getId(),
104-
$this->storeManager->getWebsite()->getId()
104+
$this->storeManager->getStore()->getId()
105105
);
106106
$select->joinLeft(
107107
[$alias => $this->frontendResource->getMainTable()],

0 commit comments

Comments
 (0)