Skip to content

Commit 92498fd

Browse files
author
Andrey Konosov
committed
Merge remote-tracking branch 'main/develop' into epam-4
2 parents 6467f6f + e09e979 commit 92498fd

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/CatalogSearch/Model/Resource

1 file changed

+5
-0
lines changed

app/code/Magento/CatalogSearch/Model/Resource/Engine.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ public function cleanIndex($storeId = null, $entityId = null, $entity = 'product
193193
{
194194
$where = [];
195195

196+
if ($storeId !== null) {
197+
$where[] = $this->_getWriteAdapter()
198+
->quoteInto('store_id=?', $storeId);
199+
}
200+
196201
if ($entityId !== null) {
197202
$where[] = $this->_getWriteAdapter()
198203
->quoteInto('product_id IN (?)', $entityId);

0 commit comments

Comments
 (0)