summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-15 15:42:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-15 15:42:44 +0000
commitc309210654ae0a170fe9a4a4215d9d9c7b4798cd (patch)
treee4406ad2e1ce7eae1063a451d79f55b0a8b81220 /app/views/versions
parentbccf6496f84459cf99512657ef8ac8ae0457b2aa (diff)
downloadredmine-c309210654ae0a170fe9a4a4215d9d9c7b4798cd.tar.gz
redmine-c309210654ae0a170fe9a4a4215d9d9c7b4798cd.zip
Eager load priorities on roadmap and changelog.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3066 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/show.rhtml b/app/views/versions/show.rhtml
index 5cea1abcb..18bc6bc45 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 %>
<fieldset class="related-issues"><legend><%= l(:label_related_issues) %></legend>