Patch #3195 » successor_soonest_start.diff
app/models/issue_relation.rb (working copy) | ||
---|---|---|
72 | 72 |
|
73 | 73 |
def successor_soonest_start |
74 | 74 |
return nil unless (TYPE_PRECEDES == self.relation_type) && (issue_from.start_date || issue_from.due_date) |
75 |
(issue_from.due_date || issue_from.start_date) + 1 + delay
|
|
75 |
(issue_from.due_date || issue_from.start_date) + delay |
|
76 | 76 |
end |
77 | 77 |
|
78 | 78 |
def <=>(relation) |