mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-02 21:59:39 +00:00
Preload issues project.
git-svn-id: http://svn.redmine.org/redmine/trunk@15626 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6901fc08f6
commit
21c4665e2a
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user