@@ -240,7 +240,7 class ProjectsController < ApplicationController | |||
|
240 | 240 | @issue_count = Issue.count(:include => [:status, :project], :conditions => @query.statement) |
|
241 | 241 | @issue_pages = Paginator.new self, @issue_count, @results_per_page, params['page'] |
|
242 | 242 | @issues = Issue.find :all, :order => sort_clause, |
|
243 | :include => [ :author, :status, :tracker, :project ], | |
|
243 | :include => [ :author, :status, :tracker, :project, :priority ], | |
|
244 | 244 | :conditions => @query.statement, |
|
245 | 245 | :limit => @issue_pages.items_per_page, |
|
246 | 246 | :offset => @issue_pages.current.offset |
@@ -49,9 +49,9 | |||
|
49 | 49 | <%= sort_header_tag('issues.id', :caption => '#') %> |
|
50 | 50 | <%= sort_header_tag('issues.tracker_id', :caption => l(:field_tracker)) %> |
|
51 | 51 | <%= sort_header_tag('issue_statuses.name', :caption => l(:field_status)) %> |
|
52 | <%= sort_header_tag('issues.priority_id', :caption => l(:field_priority)) %> | |
|
52 | 53 | <th><%=l(:field_subject)%></th> |
|
53 | 54 | <%= sort_header_tag('users.lastname', :caption => l(:field_author)) %> |
|
54 | <%= sort_header_tag('issues.created_on', :caption => l(:field_created_on)) %> | |
|
55 | 55 | <%= sort_header_tag('issues.updated_on', :caption => l(:field_updated_on)) %> |
|
56 | 56 | </tr></thead> |
|
57 | 57 | <tbody> |
@@ -61,9 +61,9 | |||
|
61 | 61 | <td align="center"><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td> |
|
62 | 62 | <td align="center"><%= issue.tracker.name %></td> |
|
63 | 63 | <td><div class="square" style="background:#<%= issue.status.html_color %>;"></div> <%= issue.status.name %></td> |
|
64 | <td align="center"><%= issue.priority.name %></td> | |
|
64 | 65 | <td><%= link_to h(issue.subject), :controller => 'issues', :action => 'show', :id => issue %></td> |
|
65 | <td align="center"><%= issue.author.display_name %></td> | |
|
66 | <td align="center"><%= format_time(issue.created_on) %></td> | |
|
66 | <td align="center"><%= issue.author.display_name %></td> | |
|
67 | 67 | <td align="center"><%= format_time(issue.updated_on) %></td> |
|
68 | 68 | </tr> |
|
69 | 69 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now