Open
Description
Hi,
I'm using the last version module (4.1.1)
Instead of using order collection, repository is use with searchcriteria.
File : /vendor/checkoutcom/magento2/Model/Service/OrderHandlerService.php
/** @var OrderInterface $order */
$order = $this->orderRepository->getList($search)->setPageSize(1)->getLastItem();
Magento getlist load all customer orders before limiting the query with last item.
Metadata
Metadata
Assignees
Labels
No labels