OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix: overview metrics
Carl-Gerhard Lindesvärd4ccabc5fa36a
diff --git a/packages/db/src/services/overview.service.ts b/packages/db/src/services/overview.service.tsindex 155c16517..a3596da13 100644--- a/packages/db/src/services/overview.service.ts+++ b/packages/db/src/services/overview.service.ts@@ -217,14 +217,14 @@ export class OverviewService {clix(this.client, timezone).select(['bounce_rate']).from('session_agg')- .where('date', '=', clix.exp("'1970-01-01 00:00:00'")),+ .where('date', '=', clix.datetime('1970-01-01 00:00:00')),).with('daily_stats',clix(this.client, timezone).select(['date', 'bounce_rate']).from('session_agg')- .where('date', '!=', clix.exp("'1970-01-01 00:00:00'")),+ .where('date', '!=', clix.datetime('1970-01-01 00:00:00')),).with('overall_unique_visitors', overallUniqueVisitorsQuery).select<{