Skip to content

Commit 3007b00

Browse files
author
Oleksandr Iegorov
committed
MAGETWO-72861: Visual Merchandiser category edit performance issue
1 parent f51eea3 commit 3007b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogRule/Plugin/Indexer/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function afterSave(
3535
\Magento\Catalog\Model\Category $result
3636
) {
3737
/** @var \Magento\Catalog\Model\Category $result */
38-
$productIds = $result->getAffectedProductIds();
38+
$productIds = $result->getChangedProductIds();
3939
if (!empty($productIds) && !$this->productRuleProcessor->isIndexerScheduled()) {
4040
$this->productRuleProcessor->reindexList($productIds);
4141
}

0 commit comments

Comments
 (0)