lib/groupdate/scopes.rb in groupdate-2.0.3 vs lib/groupdate/scopes.rb in groupdate-2.0.4

- old
+ new

@@ -74,10 +74,10 @@ end group = group(Groupdate::OrderHack.new(sanitize_sql_array(query), field, time_zone)) range = args[2] || options[:range] || true unless options[:series] == false - Series.new(group, field, column, time_zone_object, range, week_start, day_start) + Series.new(group, field, column, time_zone_object, range, week_start, day_start, group.group_values.size - 1) else group end end end