From 7b2d68722d9de0d179864396f42dae54e8d6ac27 Mon Sep 17 00:00:00 2001 From: PanSpagetka Date: Thu, 9 Feb 2017 15:25:14 +0100 Subject: [PATCH] Fix grouping in CU charts https://bugzilla.redhat.com/show_bug.cgi?id=1417794#c13 --- app/controllers/application_controller/performance.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller/performance.rb b/app/controllers/application_controller/performance.rb index 44a93c8d9e8..14402ba5345 100644 --- a/app/controllers/application_controller/performance.rb +++ b/app/controllers/application_controller/performance.rb @@ -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)