| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Redmine
Revision: 914
Author: jplang
Date: 18 Nov 2007 18:53:58
Changes:'fixed version' field can now be displayed on the issue list.
Category and fixed version fields added to the CSV export.
| ... | ...@@ -116,6 +116,8 @@ | |
| 116 | 116 | l(:field_priority), |
| 117 | 117 | l(:field_subject), |
| 118 | 118 | l(:field_assigned_to), |
| 119 | l(:field_category), | |
| 120 | l(:field_fixed_version), | |
| 119 | 121 | l(:field_author), |
| 120 | 122 | l(:field_start_date), |
| 121 | 123 | l(:field_due_date), |
| ... | ...@@ -136,7 +138,9 @@ | |
| 136 | 138 | issue.tracker.name, |
| 137 | 139 | issue.priority.name, |
| 138 | 140 | issue.subject, |
| 139 | (issue.assigned_to ? issue.assigned_to.name : ""), | |
| 141 | issue.assigned_to, | |
| 142 | issue.category, | |
| 143 | issue.fixed_version, | |
| 140 | 144 | issue.author.name, |
| 141 | 145 | issue.start_date ? l_date(issue.start_date) : nil, |
| 142 | 146 | issue.due_date ? l_date(issue.due_date) : nil, |
| ... | ...@@ -49,7 +49,7 @@ | |
| 49 | 49 | @issue_count = Issue.count(:include => [:status, :project], :conditions => @query.statement) |
| 50 | 50 | @issue_pages = Paginator.new self, @issue_count, limit, params['page'] |
| 51 | 51 | @issues = Issue.find :all, :order => sort_clause, |
| 52 | :include => [ :assigned_to, :status, :tracker, :project, :priority, :category ], | |
| 52 | :include => [ :assigned_to, :status, :tracker, :project, :priority, :category, :fixed_version ], | |
| 53 | 53 | :conditions => @query.statement, |
| 54 | 54 | :limit => limit, |
| 55 | 55 | :offset => @issue_pages.current.offset |
| ... | ...@@ -100,6 +100,7 @@ | |
| 100 | 100 | QueryColumn.new(:assigned_to, :sortable => "#{User.table_name}.lastname"), |
| 101 | 101 | QueryColumn.new(:updated_on, :sortable => "#{Issue.table_name}.updated_on"), |
| 102 | 102 | QueryColumn.new(:category, :sortable => "#{IssueCategory.table_name}.name"), |
| 103 | QueryColumn.new(:fixed_version), | |
| 103 | 104 | QueryColumn.new(:start_date, :sortable => "#{Issue.table_name}.start_date"), |
| 104 | 105 | QueryColumn.new(:due_date, :sortable => "#{Issue.table_name}.due_date"), |
| 105 | 106 | QueryColumn.new(:estimated_hours, :sortable => "#{Issue.table_name}.estimated_hours"), |