Skip to content

Commit 9ef7eef

Browse files
committed
MC-37347: [OnPrem] Catalog Products Filter in 2.3.3 not working correctly
1 parent fbfac3e commit 9ef7eef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/ProductCollection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ private function addAttributeToFilterAllStores(Attribute $attributeModel, array
8989
. $this->_getConditionSql("{$tableName}.value", $condition)
9090
. ') AND ('
9191
. $this->_getConditionSql("{$tableName}.attribute_id", $attributeId)
92+
. ') AND ('
93+
. $this->_getConditionSql("{$tableName}.store_id", $this->getDefaultStoreId())
9294
. ')';
9395
$selectExistsInAllStores = $this->getConnection()->select()->from($tableName);
9496
$this->getSelect()->exists($selectExistsInAllStores, $condition);

0 commit comments

Comments
 (0)