Project

General

Profile

Patch #18326 » issue_show_revisions.diff

Pavel Liavonau, 2014-11-12 10:26

View differences:

app/helpers/application_helper.rb
193 193
      else
194 194
        object.value.to_s
195 195
      end
196
    when 'Changeset'
197
      link_to_revision(object,object.repository)
196 198
    else
197 199
      html ? h(object) : object.to_s
198 200
    end
app/models/issue_query.rb
39 39
    QueryColumn.new(:created_on, :sortable => "#{Issue.table_name}.created_on", :default_order => 'desc'),
40 40
    QueryColumn.new(:closed_on, :sortable => "#{Issue.table_name}.closed_on", :default_order => 'desc'),
41 41
    QueryColumn.new(:relations, :caption => :label_related_issues),
42
    QueryColumn.new(:description, :inline => false)
42
    QueryColumn.new(:description, :inline => false),
43
    QueryColumn.new(:changesets, :caption => :label_associated_revisions)
43 44
  ]
44 45

  
45 46
  scope :visible, lambda {|*args|
(1-1/3)