digitalungdom-se / digitalungdom-api

GNU Affero General Public License v3.0
2 stars 0 forks source link

Receive notifications in most recent order for get request #15

Closed Nautman closed 4 years ago

Nautman commented 4 years ago

Currently, the notification system receives the oldest notifications first. This is rather backwards, as you would normally like to see the new notifications first, and then scroll down to see the older ones. While I could see the logic in having old notifications first, it would only be logical if users were to delete the already read notifications.

kelszo commented 4 years ago

Done, note with the latest patch the at field has been removed since it is redundant (date is included in the mongoID/objectID)

Nautman commented 4 years ago

Great, thanks for letting me know of breaking changes!