Skip to content

Commit 9345262

Browse files
committed
MC-21542: Category query does not handle disabled children properly
- fix static
1 parent bbe43fd commit 9345262

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ public function execute(\Iterator $iterator): array
7272

7373

7474
/**
75-
* Test that all parents of the current category are active
75+
* Test that all parents of the current category are active.
7676
*
77-
* Assumes that $categoriesArray are key-pair values and key is the ID of the category
77+
* Assumes that $categoriesArray are key-pair values and key is the ID of the category and
78+
* all categories in this list are queried as active.
7879
*
7980
* @param CategoryInterface $currentCategory
8081
* @param CategoryInterface $rootCategory

0 commit comments

Comments
 (0)