[openstreetmap/openstreetmap-website] Order changeset elements for consistent pagination (PR #5209)
Tom Hughes
notifications at github.com
Thu Sep 12 21:59:48 UTC 2024
Changeset elements in the history view are being paginated but no order is being specified so stepping through the pages may not give consistent results and may skip elements or show them twice - this is currently visible in the form of occasional test failures in `test_show_paginated_element_links` when it doesn't show elements in the order `create_list` created them.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5209
-- Commit Summary --
* Order changeset elements for consistent pagination
-- File Changes --
M app/controllers/changesets_controller.rb (12)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5209.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5209.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5209
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5209 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240912/d2f7992b/attachment-0001.htm>
More information about the rails-dev
mailing list