Actions
Patch #19706
closedIssue show : optimizations
Start date:
Due date:
% Done:
0%
Estimated time:
Description
# in app/controllers/issue_controller.rb in
def show
@changesets = @issue.changesets.visible.includes([:repository, :user, :issues]).all
# in app/helper/issues_helper in :
def render_descendants_tree(issue)
issue_list(issue.descendants.visible.includes([:status, :priority, :tracker]).sort_by(&:lft)) do |child, level|
Updated by Jérôme BATAILLE over 9 years ago
Some optimizations could be made in parse_redmine_links too, because issues and priorities are loaded multiple times (from cache though)
Updated by Jean-Philippe Lang over 9 years ago
- Category set to Performance
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Target version set to 3.0.3
Patch committed with slight changes, thanks.
Updated by Jean-Philippe Lang over 9 years ago
- Status changed from Resolved to Closed
Updated by Jean-Philippe Lang over 9 years ago
- Target version changed from 3.0.3 to 2.6.5
Updated by Jérôme BATAILLE over 9 years ago
Thanks for having reviewed this patch !
Actions