[openstreetmap/openstreetmap-website] Diary entries #index: Migrate to bootstrap pagination (#3024)

Tom Hughes notifications at github.com
Mon Feb 8 08:08:36 UTC 2021


If anybody is looking at reworking pagination in general then the most important thing is that we need to move away from pagination based on counting (using `page=N` with an OFFSET/LIMIT query) and to pagination based on ID values where the query selects the next N records before/after a given ID value.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3024#issuecomment-774955550
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210208/038a9940/attachment.htm>


More information about the rails-dev mailing list