diff options
Diffstat (limited to 'app/helpers/versions_helper.rb')
-rw-r--r-- | app/helpers/versions_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/versions_helper.rb b/app/helpers/versions_helper.rb index ffaa54675..ef4bb9d04 100644 --- a/app/helpers/versions_helper.rb +++ b/app/helpers/versions_helper.rb @@ -75,7 +75,7 @@ module VersionsHelper sorted_keys.collect do |k| {:group => k, :total => h[k][0], :open => h[k][1], :closed => (h[k][0] - h[k][1])} end - max = counts.collect {|c| c[:total]}.max + max = counts.pluck(:total).max render :partial => 'issue_counts', :locals => {:version => version, :criteria => criteria, :counts => counts, :max => max} end |