We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents caa73fe + 8ed0614 commit 983ed85Copy full SHA for 983ed85
1 file changed
src/Services/AnalyticsService.php
@@ -68,7 +68,7 @@ public function getSummary($query, array $dateRange): array
68
DB::raw("{$durationExpression} as duration")
69
)
70
->groupBy('session_id')
71
- ->having('duration', '>', 0)
+ ->havingRaw("{$durationExpression} > 0")
72
->pluck('duration')
73
->toArray();
74
0 commit comments