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 462127f + d9c2322 commit db37568Copy full SHA for db37568
Model/Import/Category.php
@@ -800,8 +800,8 @@ protected function indexDeleteEvents()
800
protected function reindexUpdatedCategories($categoryId)
801
{
802
/** @var $category \Magento\Catalog\Model\Category */
803
- $category = $this->defaultCategory->load($categoryId);
804
- //$categoryName = $category->getName();
+ $category = $this->categoryRepository->get($categoryId);
+
805
foreach ($category->getStoreIds() as $storeId) {
806
if ($storeId == 0) {
807
continue;
0 commit comments