📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
fix: Use proper table name for all period date diff calculation
Blue Mouse1967c7d75c8f
diff --git a/backend/apps/cloud/src/analytics/analytics.service.ts b/backend/apps/cloud/src/analytics/analytics.service.tsindex f3a443d20..f71c917d5 100644--- a/backend/apps/cloud/src/analytics/analytics.service.ts+++ b/backend/apps/cloud/src/analytics/analytics.service.ts@@ -1947,7 +1947,7 @@ export class AnalyticsService {const allTimeChartBucket = TimeBucketType.MONTHconst { diff: allDiff } = await this.calculateTimeBucketForAllTime(pid,- 'analytics',+ customEVFilterApplied ? 'customEV' : 'analytics',)const { groupFrom: allFrom, groupTo: allTo } = this.getGroupFromTo(undefined,diff --git a/backend/apps/community/src/analytics/analytics.service.ts b/backend/apps/community/src/analytics/analytics.service.tsindex 8c10b44c5..7df80951c 100644--- a/backend/apps/community/src/analytics/analytics.service.ts+++ b/backend/apps/community/src/analytics/analytics.service.ts@@ -1628,7 +1628,7 @@ export class AnalyticsService {const allTimeChartBucket = TimeBucketType.MONTHconst { diff: allDiff } = await this.calculateTimeBucketForAllTime(pid,- 'analytics',+ customEVFilterApplied ? 'customEV' : 'analytics',)const { groupFrom: allFrom, groupTo: allTo } = this.getGroupFromTo(undefined,