test blog

The old logic count - page * limit was a reverse-pagination trick to simulate "show last N orders" but it breaks when you sort by -1 and pass different limits. With sort: -1 + standard skip = (page-1) * limit, page 1 always gives the 10 most recent orders regardless of total count.
Also update useOrders.js to use the hasMore from response instead of guessing:



