Skip to content

Commit 2859ae6

Browse files
committed
Adding Global root category
1 parent 87cd878 commit 2859ae6

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider

1 file changed

+3
-0
lines changed

app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/CategoryTree.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ private function joinAttributesRecursively(Collection $collection, FieldNode $fi
140140
if ($node->kind === 'InlineFragment') {
141141
continue;
142142
}
143+
if ($node->kind === 'FragmentSpread') {
144+
continue;
145+
}
143146

144147
$this->joinAttributesRecursively($collection, $node);
145148
}

0 commit comments

Comments
 (0)