Skip to content

Commit 201cdf2

Browse files
committed
Query category for disabled catalog with products returns the product count #476
1 parent e1aa929 commit 201cdf2

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ private function joinAttributesRecursively(Collection $collection, FieldNode $fi
149149
}
150150

151151
/**
152+
* Check if provided category active
153+
*
152154
* @param Collection $collection
153155
* @param int $rootCategoryId
154156
*

0 commit comments

Comments
 (0)