From d4080c020f834e424d8149b4c7917695993c819e Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 10 Sep 2018 10:40:19 +0200 Subject: [PATCH] FIX: sets trends to 7 days instead of 3 (#6379) --- .../admin/controllers/admin-dashboard-next-general.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/admin/controllers/admin-dashboard-next-general.js.es6 b/app/assets/javascripts/admin/controllers/admin-dashboard-next-general.js.es6 index 687f66333ea..2de7b16f16b 100644 --- a/app/assets/javascripts/admin/controllers/admin-dashboard-next-general.js.es6 +++ b/app/assets/javascripts/admin/controllers/admin-dashboard-next-general.js.es6 @@ -54,7 +54,7 @@ export default Ember.Controller.extend(PeriodComputationMixin, { topReferredTopicsFilters() { return { startDate: moment() - .subtract(2, "days") + .subtract(6, "days") .startOf("day"), endDate: this.get("today") }; @@ -64,7 +64,7 @@ export default Ember.Controller.extend(PeriodComputationMixin, { trendingSearchFilters() { return { startDate: moment() - .subtract(2, "days") + .subtract(6, "days") .startOf("day"), endDate: this.get("today") };