diff options
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r-- | app/models/issue.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 862d60e48..0b8a2b2c5 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -1147,7 +1147,8 @@ class Issue < ActiveRecord::Base def soonest_start(reload=false) if @soonest_start.nil? || reload - dates = relations_to(reload).collect{|relation| relation.successor_soonest_start} + relations_to.reload if reload + dates = relations_to.collect{|relation| relation.successor_soonest_start} p = @parent_issue || parent if p && Setting.parent_issue_dates == 'derived' dates << p.soonest_start |