Skip to content

Commit a12627e

Browse files
committed
B2B-2464: Improve category children loading
1 parent c70dc5b commit a12627e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogGraphQl/Model/Category/CategoryFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function getResult(array $criteria, StoreInterface $store, array $attribu
8585
'e.entity_id'
8686
);
8787

88-
$categoryIds = $collection->getLoadedIds();
88+
$categoryIds = $collection->load()->getLoadedIds();
8989

9090
$totalPages = 0;
9191
if ($collection->getSize() > 0 && $searchCriteria->getPageSize() > 0) {

0 commit comments

Comments
 (0)