mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01:00
Preload issues project.
git-svn-id: http://svn.redmine.org/redmine/trunk@15626 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user