[openstreetmap/openstreetmap-website] Notes ordering: show unresolved notes first (PR #3386)
Matija Nalis
notifications at github.com
Mon Nov 29 00:20:40 UTC 2021
This simple PR changes ordering when showing user notes on the public website (`https://www.openstreetmap.org/user/USERNAME/notes`)
Previously, notes were sorted by date of last update (newest first), regardless of their status `open`/`closed`.
With this, it displays `open` notes first (as that is most likely what the user is interested in), followed by all `closed` notes.
Apart from that, the notes remain sorted as before - by date of last update (newest first).
While not completely solving it, this should alleviate most grave problems of https://github.com/openstreetmap/openstreetmap-website/issues/832#issuecomment-829383983
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3386
-- Commit Summary --
* ordering: show unresolved notes first
-- File Changes --
M app/controllers/notes_controller.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3386.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3386.diff
--
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/3386
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20211128/f3b0639e/attachment.htm>
More information about the rails-dev
mailing list