Choose a pagination strategy that fits how staff browse recent orders.
Observe a moving list
Suppose a manager reads page one while new orders arrive. With offset pagination, inserting rows near the top can push an already-read order onto page two. Page numbers remain useful for stable archives, but a busy operations queue often needs another approach.
Make the order deterministic
For a newest-first feed, sort by creation time and then by a unique ID. A cursor can identify the last pair seen. The next request continues beyond that pair using the same filters and sort direction.
Define the browsing contract
Reset the cursor when staff change the branch or status filter. Decide whether new orders appear on an explicit refresh. Test several orders with identical timestamps, an empty last page and a record removed between requests.
