Skip to content

Commit b7c412c

Browse files
author
Oleksii Korshenko
authored
MAGETWO-66540: Remove call to load() in getChildrenCategories method #2093
2 parents 8260444 + 94df2e5 commit b7c412c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ public function getChildrenCategories($category)
744744
)->setOrder(
745745
'position',
746746
\Magento\Framework\DB\Select::SQL_ASC
747-
)->joinUrlRewrite()->load();
747+
)->joinUrlRewrite();
748748

749749
return $collection;
750750
}

0 commit comments

Comments
 (0)