We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does it make sense for comments in a feed to go in ascending order, oldest first?
Comment feeds for all comments are sorted in descending order: https://master.apis.dev.openstreetmap.org/history/comments/feed
But feeds for individual changesets are sorted in ascending order: https://master.apis.dev.openstreetmap.org/changeset/307182/comments/feed
If you add a limit, and there's more comments than the limit, you'll never get new comments: https://master.apis.dev.openstreetmap.org/changeset/307182/comments/feed?limit=1
No response
The text was updated successfully, but these errors were encountered:
We probably want descending order, with newest comments being fist on the list.
I think it would also be useful to order them by id instead of created_at, since in theory ordering by timestamp and id does not have to match.
id
created_at
Sorry, something went wrong.
No branches or pull requests
Problem
Does it make sense for comments in a feed to go in ascending order, oldest first?
Comment feeds for all comments are sorted in descending order:
https://master.apis.dev.openstreetmap.org/history/comments/feed
But feeds for individual changesets are sorted in ascending order:
https://master.apis.dev.openstreetmap.org/changeset/307182/comments/feed
If you add a limit, and there's more comments than the limit, you'll never get new comments:
https://master.apis.dev.openstreetmap.org/changeset/307182/comments/feed?limit=1
Description
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: