We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1775766 commit 59ee3e6Copy full SHA for 59ee3e6
app/code/Magento/Elasticsearch/Model/Indexer/Fulltext/Plugin/Category/Product/Action/Rows.php
@@ -81,9 +81,10 @@ public function afterExecute(
81
82
foreach ($this->storeManager->getStores() as $store) {
83
$indexTable = $this->getIndexTable((int) $store->getId(), $useTempTable);
84
- $productIds = array_merge($productIds, $this->getProductIdsFromIndex($indexTable, $entityIds));
+ $productIds[] = $this->getProductIdsFromIndex($indexTable, $entityIds);
85
}
86
87
+ $productIds = array_merge([], ...$productIds);
88
if (!empty($productIds)) {
89
$indexer->reindexList(array_unique($productIds));
90
0 commit comments