Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add explicit ID desc sort to not confuse developers

Oliver Günther95270fd818a6
diff --git a/lib/api/v3/notifications/notifications_api.rb b/lib/api/v3/notifications/notifications_api.rb
index 5bf3a131b49..d5a9e96ef84 100644
--- a/lib/api/v3/notifications/notifications_api.rb
+++ b/lib/api/v3/notifications/notifications_api.rb
@@ -47,6 +47,7 @@ module API
.visible(current_user)
.where
.not(read_ian: nil)
+ .order(id: :desc)
end
def bulk_update_status(attributes)