Project

General

Profile

Defect #3613 ยป make_issues_author_column_sortable.patch

Chris Grieger, 2009-07-15 20:30

View differences:

app/models/query.rb (working copy)
104 104
    QueryColumn.new(:status, :sortable => "#{IssueStatus.table_name}.position", :groupable => true),
105 105
    QueryColumn.new(:priority, :sortable => "#{IssuePriority.table_name}.position", :default_order => 'desc', :groupable => true),
106 106
    QueryColumn.new(:subject, :sortable => "#{Issue.table_name}.subject"),
107
    QueryColumn.new(:author),
107
    QueryColumn.new(:author, :sortable => ["#{Issue.table_name}.author_id"], :groupable => true),
108 108
    QueryColumn.new(:assigned_to, :sortable => ["#{User.table_name}.lastname", "#{User.table_name}.firstname", "#{User.table_name}.id"], :groupable => true),
109 109
    QueryColumn.new(:updated_on, :sortable => "#{Issue.table_name}.updated_on", :default_order => 'desc'),
110 110
    QueryColumn.new(:category, :sortable => "#{IssueCategory.table_name}.name", :groupable => true),
config/settings.yml (working copy)
122 122
  serialized: true
123 123
  default: 
124 124
  - tracker
125
  - author
125 126
  - status
126 127
  - priority
127 128
  - subject
    (1-1/1)