Skip to content

Commit 74e6c1c

Browse files
author
Volodymyr klymenko
committed
Merge remote-tracking branch 'm2origin/develop' into pr7
2 parents b664f97 + e09e979 commit 74e6c1c

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)