Skip to content

Commit

Permalink
Fix grouping in CU charts
Browse files Browse the repository at this point in the history
  • Loading branch information
PanSpagetka committed Feb 13, 2017
1 parent 60fe875 commit 7b2d687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller/performance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ def prepare_perf_tag_chart(chart, rpt, cat_desc)
# Grab the first (and should be only) chart column
col = chart[:columns].first
# Create the new chart columns for each tag
chart[:columns] ||= rpt.extras[:group_by_tags].collect { |t| col + "_" + t }
chart[:columns] = rpt.extras[:group_by_tags].collect { |t| col + "_" + t }
end

def gen_perf_chart(chart, rpt, idx, zoom_action)
Expand Down

0 comments on commit 7b2d687

Please sign in to comment.