Open vgkids opened 3 months ago
A report title can be produced that is Sum by Month and
Sum by Month and
I believe it's caused by an empty group array and filled group_by_period.
group
group_by_period
We attempt to account for this, but these checks for values existing aren't covering the empty array edge:
def generate_title(stat, period_groups, column_groups) if period_groups && column_groups "#{ stat.titleize } by #{ period_groups.titleize } and #{ array_to_title(column_groups) }"
A report title can be produced that is
Sum by Month and
I believe it's caused by an empty
group
array and filledgroup_by_period
.We attempt to account for this, but these checks for values existing aren't covering the empty array edge: