[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:59:24 UTC 2023
> I think we need to stop making random changes here and sit back and think about what we're trying to achieve and how best to do it.
Currently the first thing I want is to restore the previous behavior when the order parameter is not used.
Try running a query *without* the order parameter:
https://api.openstreetmap.org/api/0.6/changesets.json?limit=10&time=20200101T000000Z,20200201T000000Z
> I don't think sorting by different fields when moving in different direction is going to work is it - if you start moving forward and then switch to moving backward you're going to find yourself getting different changesets?
This was a fix that didn't move in different directions:
https://github.com/openstreetmap/openstreetmap-website/pull/4164
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4168#issuecomment-1677499278
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4168/c1677499278 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230814/e698844d/attachment.htm>
More information about the rails-dev
mailing list