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

write into updated_at timestamp when marking notifications as read

Kabiru Mwenjadca1fa369d0d
diff --git a/app/services/reminders/update_service.rb b/app/services/reminders/update_service.rb
index dce0e6b0688..8ad833d7c10 100644
--- a/app/services/reminders/update_service.rb
+++ b/app/services/reminders/update_service.rb
@@ -57,7 +57,7 @@ module Reminders
end
def mark_unread_notifications_as_read_for(reminder)
- reminder.unread_notifications.update_all(read_ian: true)
+ reminder.unread_notifications.update_all(read_ian: true, updated_at: Time.zone.now)
end
end
end