Pager not work in my custom collection?
I have a custom collection for ordered products for a customer. $connection = $this->resourceConnection->getConnection(MagentoFrameworkAppResourceConnection::DEFAULT_CONNECTION); $customerSession = $this->customerSession->create(); if ($customerSession->isLoggedIn()) { $customerId = $customerSession->getId(); $result1 = $connection->fetchAll(‘SELECT distinct(product_id) FROM `sales_order_item` as soi INNER join sales_order as so on so.entity_id=soi.order_id WHERE so.customer_id… Read More »Pager not work in my custom collection?