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
fix correct OR'ing of time statements, instead of AND
Klaus Zanders149f90e85d28
diff --git a/app/models/journable/historic_active_record_relation.rb b/app/models/journable/historic_active_record_relation.rbindex adcc7e60ef7..e10d3278834 100644--- a/app/models/journable/historic_active_record_relation.rb+++ b/app/models/journable/historic_active_record_relation.rb@@ -532,7 +532,7 @@ class Journable::HistoricActiveRecordRelation < ActiveRecord::Relationreturn statement if additional_conditions.blank?- "#{statement} AND #{additional_conditions.join(' AND ')}"+ "#{statement} AND (#{additional_conditions.join(' OR ')})"endclass NotImplementedError < StandardError; end