Skip to content

Commit 165bace

Browse files
committed
MAGETWO-81926: Category hierarchy isn't updated on Product Admin page
1 parent 1358132 commit 165bace

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/Catalog

2 files changed

+2
-2
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Category/RefreshPath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function execute()
4141
return $resultJson->setData([
4242
'id' => $categoryId,
4343
'path' => $category->getPath(),
44-
'parentid' => $category->getParentID(),
44+
'parentId' => $category->getParentID(),
4545
]);
4646
}
4747
}

app/code/Magento/Catalog/view/adminhtml/web/catalog/category/form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ define([
4646
} else {
4747
$(this.options.categoryIdSelector).val(data.id).change();
4848
$(this.options.categoryPathSelector).val(data.path).change();
49-
$(this.options.categoryParentSelector).val(data.parentid).change();
49+
$(this.options.categoryParentSelector).val(data.parentId).change();
5050
}
5151
}
5252
};

0 commit comments

Comments
 (0)