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 f4eaa46 + fbed62b commit 453466eCopy full SHA for 453466e
Block/Blog/Category.php
@@ -100,8 +100,9 @@ public function getGroupedChildes()
100
101
$array = $array->addFieldToFilter('mf_exclude_html_sitemap', 0)
102
->setOrder('position')
103
- ->setPageSize($pageSize)
104
->getTreeOrderedArray();
+ $array = array_slice($array, 0, $pageSize);
105
+
106
107
foreach ($array as $key => $item) {
108
$maxDepth = $this->config->getConfig(self::XML_PATH_TO_BLOG_CATEGORY_DEPTH);
0 commit comments