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
[#60700] Ending series via number of occurrences does not work if the ending condition was originally after a specific date (#17690)
Mir Bhatiacb13b217a692
diff --git a/modules/meeting/app/models/recurring_meeting.rb b/modules/meeting/app/models/recurring_meeting.rbindex d7b565495b9..9c0dd561e22 100644--- a/modules/meeting/app/models/recurring_meeting.rb+++ b/modules/meeting/app/models/recurring_meeting.rb@@ -168,7 +168,7 @@ class RecurringMeeting < ApplicationRecordenddef remaining_occurrences- if end_date.present?+ if end_after_specific_date?schedule.occurrences_between(Time.current, modified_end_date)elseschedule.remaining_occurrences(Time.current)