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 8d7aab7 commit 96be1ceCopy full SHA for 96be1ce
app/code/Magento/Catalog/Model/Category.php
@@ -1090,6 +1090,9 @@ public function reindex()
1090
$flatIndexer = $this->indexerRegistry->get(Indexer\Category\Flat\State::INDEXER_ID);
1091
if (!$flatIndexer->isScheduled()) {
1092
$flatIndexer->reindexRow($this->getId());
1093
+ if ($this->dataHasChangedFor('url_key')) {
1094
+ $flatIndexer->reindexList(explode(',', $this->getAllChildren()));
1095
+ }
1096
}
1097
1098
$productIndexer = $this->indexerRegistry->get(Indexer\Category\Product::INDEXER_ID);
0 commit comments