FIX: ensure we dont collapse data multiple times (#13399)

Note that this commit will also disable daily grouping for datasets with more than 30 data points. This will also smartly do the grouping by month when grouping a full year.
This commit is contained in:
Joffrey JAFFEUX
2021-06-17 09:15:20 +02:00
committed by GitHub
parent 7dc0f88acd
commit 4c3d2267b4
7 changed files with 121 additions and 108 deletions
@@ -2,7 +2,7 @@ import Controller from "@ember/controller";
import discourseComputed from "discourse-common/utils/decorators";
export default Controller.extend({
queryParams: ["start_date", "end_date", "filters", "chart_grouping"],
queryParams: ["start_date", "end_date", "filters", "chart_grouping", "mode"],
start_date: null,
end_date: null,
filters: null,