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.
1 parent 932dfe2 commit e9f0bddCopy full SHA for e9f0bdd
app/code/Magento/PageBuilder/Model/Catalog/Sorting.php
@@ -87,7 +87,7 @@ public function applySorting(
87
\Magento\Catalog\Model\ResourceModel\Product\Collection $collection
88
): \Magento\Catalog\Model\ResourceModel\Product\Collection {
89
$sortBuilder = $this->getSortingInstance($option);
90
- $_collection = $sortBuilder->sort($collection);
+ $_collection = $sortBuilder->sort($collection->setCurPage(0));
91
92
if ($_collection->isLoaded()) {
93
$_collection->clear();
0 commit comments