Project

General

Profile

Patch #3195 » successor_soonest_start.diff

Sanghyuk Suh, 2009-04-17 06:54

View differences:

app/models/issue_relation.rb (working copy)
def successor_soonest_start
return nil unless (TYPE_PRECEDES == self.relation_type) && (issue_from.start_date || issue_from.due_date)
(issue_from.due_date || issue_from.start_date) + 1 + delay
(issue_from.due_date || issue_from.start_date) + delay
end
def <=>(relation)
(1-1/7)