Skip to content

Commit e18f8ad

Browse files
committed
MC-43010: GraphQL query throws an error when the category is scheduled
1 parent ea236e7 commit e18f8ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function execute(\Iterator $iterator): array
6464
if (empty($tree)) {
6565
$tree = $currentLevelTree;
6666
}
67-
$tree = $this->mergeCategoriesTrees($currentLevelTree, $tree);
67+
$tree = $this->mergeCategoriesTrees($tree, $currentLevelTree);
6868
}
6969
}
7070

0 commit comments

Comments
 (0)