Skip to content

Commit e289191

Browse files
committed
Merge remote-tracking branch 'adobe-commerce-tier-4/ACP2E-3786' into PR_2025_06_12_muntianu
2 parents d3ea191 + 1dd16bc commit e289191

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Elasticsearch/Model/Indexer/Fulltext/Plugin/Category/Product/Action

1 file changed

+3
-1
lines changed

app/code/Magento/Elasticsearch/Model/Indexer/Fulltext/Plugin/Category/Product/Action/Rows.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ public function afterExecute(
8989
if (!empty($productIds)) {
9090
$indexer = $this->indexerRegistry->get(FulltextIndexer::INDEXER_ID);
9191
if ($indexer->isScheduled()) {
92-
$indexer->getView()->getChangelog()->addList($productIds);
92+
$changelog = $indexer->getView()->getChangelog();
93+
$changelog->create();
94+
$changelog->addList($productIds);
9395
} else {
9496
$indexer->invalidate();
9597
}

0 commit comments

Comments
 (0)