FIX: sets trends to 7 days instead of 3 (#6379)

This commit is contained in:
Joffrey JAFFEUX 2018-09-10 10:40:19 +02:00 committed by GitHub
parent df04e69cde
commit d4080c020f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ export default Ember.Controller.extend(PeriodComputationMixin, {
topReferredTopicsFilters() { topReferredTopicsFilters() {
return { return {
startDate: moment() startDate: moment()
.subtract(2, "days") .subtract(6, "days")
.startOf("day"), .startOf("day"),
endDate: this.get("today") endDate: this.get("today")
}; };
@ -64,7 +64,7 @@ export default Ember.Controller.extend(PeriodComputationMixin, {
trendingSearchFilters() { trendingSearchFilters() {
return { return {
startDate: moment() startDate: moment()
.subtract(2, "days") .subtract(6, "days")
.startOf("day"), .startOf("day"),
endDate: this.get("today") endDate: this.get("today")
}; };