100324-cross-project-revisions.patch

William Baum, 2010-03-24 16:12

Download (641 Bytes)

View differences:

app/models/changeset.rb (working copy)
169 169
  def find_referenced_issues_by_id(ids)
170 170
    return [] if ids.compact.empty?
171 171
    Issue.find_all_by_id(ids, :include => :project).select {|issue|
172
      project == issue.project || project.is_ancestor_of?(issue.project) || project.is_descendant_of?(issue.project)
172
      project == project
173
      ###project == issue.project || project.is_ancestor_of?(issue.project) || project.is_descendant_of?(issue.project)
173 174
    }
174 175
  end
175 176