'fixed version' field can now be displayed on the issue list.
Category and fixed version fields added to the CSV export.
git-svn-id: http://redmine.rubyforge.org/svn/branches/nbc@1780
e93f8b46-1217-0410-a6f0-
8f06a7374b81
@issue_count = Issue.count(:include => [:status, :project], :conditions => @query.statement)
@issue_pages = Paginator.new self, @issue_count, limit, params['page']
@issues = Issue.find :all, :order => sort_clause,
- :include => [ :assigned_to, :status, :tracker, :project, :priority, :category ],
+ :include => [ :assigned_to, :status, :tracker, :project, :priority, :category, :fixed_version ],
:conditions => @query.statement,
:limit => limit,
:offset => @issue_pages.current.offset
l(:field_priority),
l(:field_subject),
l(:field_assigned_to),
+ l(:field_category),
+ l(:field_fixed_version),
l(:field_author),
l(:field_start_date),
l(:field_due_date),
issue.tracker.name,
issue.priority.name,
issue.subject,
- (issue.assigned_to ? issue.assigned_to.name : ""),
+ issue.assigned_to,
+ issue.category,
+ issue.fixed_version,
issue.author.name,
issue.start_date ? l_date(issue.start_date) : nil,
issue.due_date ? l_date(issue.due_date) : nil,
QueryColumn.new(:assigned_to, :sortable => "#{User.table_name}.lastname"),
QueryColumn.new(:updated_on, :sortable => "#{Issue.table_name}.updated_on"),
QueryColumn.new(:category, :sortable => "#{IssueCategory.table_name}.name"),
+ QueryColumn.new(:fixed_version),
QueryColumn.new(:start_date, :sortable => "#{Issue.table_name}.start_date"),
QueryColumn.new(:due_date, :sortable => "#{Issue.table_name}.due_date"),
QueryColumn.new(:estimated_hours, :sortable => "#{Issue.table_name}.estimated_hours"),