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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Unify Reminder#unread_notifactions query
Kabiru Mwenja64cecd324116
diff --git a/app/models/reminder.rb b/app/models/reminder.rbindex 0c8bb474b61..6c1eb71ef41 100644--- a/app/models/reminder.rb+++ b/app/models/reminder.rb@@ -34,7 +34,7 @@ class Reminder < ApplicationRecordhas_many :notifications, through: :reminder_notificationsdef unread_notifications?- notifications.exists?(read_ian: [false, nil])+ unread_notifications.exists?enddef unread_notifications