We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9845b2b + 76a7243 commit 90a98ffCopy full SHA for 90a98ff
app/code/Magento/CatalogGraphQl/Model/Resolver/Category/Products.php
@@ -92,7 +92,8 @@ public function resolve(
92
'items' => $searchResult->getProductsSearchResult(),
93
'page_info' => [
94
'page_size' => $searchCriteria->getPageSize(),
95
- 'current_page' => $currentPage
+ 'current_page' => $currentPage,
96
+ 'total_pages' => $maxPages
97
]
98
];
99
return $data;
0 commit comments