reports_controller.rb.patch

Pavel Rosick√Ĺ, 2018-08-18 14:54

Download (886 Bytes)

View differences:

reports_controller.rb (working copy)
21 21

  
22 22
  def issue_report
23 23
    @trackers = @project.rolled_up_trackers(false).visible
24
    @versions = @project.shared_versions.sort
25
    @priorities = IssuePriority.all.reverse
24
    @versions = @project.shared_versions.sorted
25
    @priorities = IssuePriority.sorted
26 26
    @categories = @project.issue_categories
27
    @assignees = (Setting.issue_group_assignment? ? @project.principals : @project.users).sort
28
    @authors = @project.users.sort
27
    @assignees = (Setting.issue_group_assignment? ? @project.principals : @project.users).sorted
28
    @authors = @project.users.sorted
29 29
    @subprojects = @project.descendants.visible
30 30

  
31 31
    @issues_by_tracker = Issue.by_tracker(@project)