Commit 4a5eca5a authored by jplang's avatar jplang

Preload issues project.

git-svn-id: https://svn.redmine.org/redmine/trunk@15626 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 3b39feb3
......@@ -66,6 +66,7 @@ class VersionsController < ApplicationController
format.html {
@issues = @version.fixed_issues.visible.
includes(:status, :tracker, :priority).
preload(:project).
reorder("#{Tracker.table_name}.position, #{Issue.table_name}.id").
to_a
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment