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 d3e011c commit 8d899e1Copy full SHA for 8d899e1
app/code/Magento/Catalog/Model/Category/DataProvider.php
@@ -676,10 +676,9 @@ protected function getFieldsMap()
676
foreach ($node['children'] as $childName => $childNode) {
677
if (!empty($childNode['children'])) {
678
// <container/> nodes need special handling
679
- $fieldsMap[$group] = array_merge(
680
- $fieldsMap[$group],
681
- array_keys($childNode['children'])
682
- );
+ foreach ($childNode['children'] as $grandchildName => $grandchildNode) {
+ $fieldsMap[$group][] = $grandchildName;
+ }
683
} else {
684
$fieldsMap[$group][] = $childName;
685
}
0 commit comments