Project

General

Profile

Patch #3877 ยป copy_issue_status.diff

Patch to implement copying of issue status - Anton Ivanov, 2009-09-16 00:54

View differences:

app/models/issue.rb (working copy)
80 80
    issue = arg.is_a?(Issue) ? arg : Issue.find(arg)
81 81
    self.attributes = issue.attributes.dup
82 82
    self.custom_values = issue.custom_values.collect {|v| v.clone}
83
    self.status = issue.status
83 84
    self
84 85
  end
85 86
  
    (1-1/1)