lib/groupdate/scopes.rb in groupdate-2.0.4 vs lib/groupdate/scopes.rb in groupdate-2.1.0
- 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, group.group_values.size - 1)
+ Series.new(group, field, column, time_zone_object, range, week_start, day_start, group.group_values.size - 1, options)
else
group
end
end
end