FIX: sets trends to 7 days instead of 3 (#6379)
This commit is contained in:
parent
df04e69cde
commit
d4080c020f
|
@ -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")
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue