Skip to content

Commit 02aa020

Browse files
committed
MC-17981: Pricing Index runs without ever completing
1 parent a4f8103 commit 02aa020

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Catalog/Model/Indexer/Product/Price/Action

1 file changed

+1
-0
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Full.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ private function getBatchesForIndexer(string $typeId): BatchIterator
279279
$select = $connection->select();
280280
$select->distinct(true);
281281
$select->from(['e' => $entityMetadata->getEntityTable()], $entityMetadata->getIdentifierField());
282+
$select->where('type_id = ?', $typeId);
282283

283284
return $this->batchQueryGenerator->generate(
284285
$this->getProductMetaData()->getIdentifierField(),

0 commit comments

Comments
 (0)