Skip to content

Commit

Permalink
healthmap plugin: Fixed undefined error in .merge
Browse files Browse the repository at this point in the history
[Closes #908]
  • Loading branch information
Zapotek committed Aug 7, 2017
1 parent 5ee35d4 commit c18747d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/plugins/defaults/healthmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def self.merge( results )
merged['issue_percentage'] =
( ( merged['with_issues'].to_f / merged['total'].to_f ) * 100 ).round

merged['map'] = merged['map'].sort_by { h.values.first }
merged['map'] = merged['map'].sort_by { |h| h.values.first }

merged
end
Expand Down

0 comments on commit c18747d

Please sign in to comment.