[openstreetmap/openstreetmap-website] Restore sorting by created_at for descending order changeset queries (PR #4168)

Anton Khorev notifications at github.com
Mon Aug 14 14:31:21 UTC 2023


The fix https://github.com/openstreetmap/openstreetmap-website/commit/702c071e191e0c79537f2e68f1084aa42bcb3c7a changed all changeset sorting to closed_at. This altered the behavior existing before the `order` parameter and made descending-order queries slow.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4168

-- Commit Summary --

  * Restore sorting by created_at for descending order changeset queries

-- File Changes --

    M app/controllers/api/changesets_controller.rb (2)
    M test/controllers/api/changesets_controller_test.rb (19)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4168.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4168.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4168
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4168 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230814/7ef07f22/attachment-0001.htm>


More information about the rails-dev mailing list