diff options
| author | elijah <elijah@riseup.net> | 2015-06-10 11:10:26 -0700 | 
|---|---|---|
| committer | elijah <elijah@riseup.net> | 2015-06-10 11:10:26 -0700 | 
| commit | 6cf44530b637e733535306fc56e8e2c45d42bf11 (patch) | |
| tree | fde58d677e1b4126645227d2c4e82de39f0dee0d /app/controllers/version_reports_controller.rb | |
| parent | 47b4671c687c0dda05fd09261b660b2c47178231 (diff) | |
add alpha sort to issue list.
Diffstat (limited to 'app/controllers/version_reports_controller.rb')
| -rw-r--r-- | app/controllers/version_reports_controller.rb | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/app/controllers/version_reports_controller.rb b/app/controllers/version_reports_controller.rb index 3933a1b..00f28a8 100644 --- a/app/controllers/version_reports_controller.rb +++ b/app/controllers/version_reports_controller.rb @@ -1,3 +1,5 @@ +require 'debugger' +  class VersionReportsController < ApplicationController    unloadable @@ -17,6 +19,7 @@ class VersionReportsController < ApplicationController      # the issues fetched here are the top level 'deliverable' issues.      # so, we don't want to include issues from any other projects.      @issues = @version.fixed_issues.where(:project_id => @version.project_id) +    @issues.sort_by! {|issue| issue.subject.sub(/\!\!\w*/,'')}    end    private | 
