diff --git a/app/views/projects/changelog.rhtml b/app/views/projects/changelog.rhtml index 355a3034..9fe1069d 100644 --- a/app/views/projects/changelog.rhtml +++ b/app/views/projects/changelog.rhtml @@ -11,7 +11,7 @@ <% end %>
<%=h version.description %>
<% issues = version.fixed_issues.find(:all, - :include => [:status, :tracker], + :include => [:status, :tracker, :priority], :conditions => ["#{IssueStatus.table_name}.is_closed=? AND #{Issue.table_name}.tracker_id in (#{@selected_tracker_ids.join(',')})", true], :order => "#{Tracker.table_name}.position") unless @selected_tracker_ids.empty? issues ||= [] diff --git a/app/views/projects/roadmap.rhtml b/app/views/projects/roadmap.rhtml index cbad932d..00d4a215 100644 --- a/app/views/projects/roadmap.rhtml +++ b/app/views/projects/roadmap.rhtml @@ -11,7 +11,7 @@ <%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %> <% issues = version.fixed_issues.find(:all, - :include => [:status, :tracker], + :include => [:status, :tracker, :priority], :conditions => ["tracker_id in (#{@selected_tracker_ids.join(',')})"], :order => "#{Tracker.table_name}.position, #{Issue.table_name}.id") unless @selected_tracker_ids.empty? issues ||= [] diff --git a/app/views/versions/show.rhtml b/app/views/versions/show.rhtml index 5cea1abc..18bc6bc4 100644 --- a/app/views/versions/show.rhtml +++ b/app/views/versions/show.rhtml @@ -33,7 +33,7 @@ <%= render(:partial => "wiki/content", :locals => {:content => @version.wiki_page.content}) if @version.wiki_page %> <% issues = @version.fixed_issues.find(:all, - :include => [:status, :tracker], + :include => [:status, :tracker, :priority], :order => "#{Tracker.table_name}.position, #{Issue.table_name}.id") %> <% if issues.size > 0 %>