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.
2 parents 42a4cbb + 85000e6 commit c9179cdCopy full SHA for c9179cd
app/code/Magento/Catalog/Model/Category.php
@@ -1093,6 +1093,9 @@ public function reindex()
1093
$flatIndexer = $this->indexerRegistry->get(Indexer\Category\Flat\State::INDEXER_ID);
1094
if (!$flatIndexer->isScheduled()) {
1095
$flatIndexer->reindexRow($this->getId());
1096
+ if ($this->dataHasChangedFor('url_key')) {
1097
+ $flatIndexer->reindexList(explode(',', $this->getAllChildren()));
1098
+ }
1099
}
1100
1101
$productIndexer = $this->indexerRegistry->get(Indexer\Category\Product::INDEXER_ID);
0 commit comments