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 321f5f8 commit a42a3feCopy full SHA for a42a3fe
app/code/Magento/Sales/Model/OrderRepository.php
@@ -115,7 +115,7 @@ public function getList(\Magento\Framework\Api\SearchCriteria $searchCriteria)
115
($sortOrder->getDirection() == SortOrder::SORT_ASC) ? 'ASC' : 'DESC'
116
);
117
}
118
-
+ $searchResult->setSearchCriteria($searchCriteria);
119
$searchResult->setCurPage($searchCriteria->getCurrentPage());
120
$searchResult->setPageSize($searchCriteria->getPageSize());
121
foreach ($searchResult->getItems() as $order) {
0 commit comments