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
Touch up aggregation explainer
Kabiru Mwenjab790c4af38b1
diff --git a/app/services/journals/create_service.rb b/app/services/journals/create_service.rbindex 8488d33c3a7..50b395e8021 100644--- a/app/services/journals/create_service.rb+++ b/app/services/journals/create_service.rb@@ -62,9 +62,14 @@ module Journalsprivate- # If the journalizing happens within the configured aggregation time, is carried out by the same user, has an- # identical cause, only the predecessor or the journal to be created has notes, and the journal is not restricted;- # the changes are aggregated.+ # Aggregatable journals must meet the following criteria:+ #+ # * The journalizing happens within the configured aggregation time+ # * The journalizing is carried out by the same user+ # * The cause is identical+ # * ONLY the predecessor or the journal to be created has notes+ # * The predecessor and the journal to be created have the restriction+ ## Instead of removing the predecessor, return it here so that it can be stripped in the journal creating# SQL to than be refilled. That way, references to the journal, including ones users have, are kept intact.def aggregatable_predecessor(notes, restricted, cause)