mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
803ce54fef
@ -42,7 +42,7 @@ async function clickhouseQuery(websiteId, { startDate, endDate, field, filters =
|
|||||||
const { pageviewQuery, sessionQuery } = parseFilters(null, filters, params);
|
const { pageviewQuery, sessionQuery } = parseFilters(null, filters, params);
|
||||||
|
|
||||||
return rawQuery(
|
return rawQuery(
|
||||||
`select ${field} x, count(*) y
|
`select ${field} x, count(distinct session_id) y
|
||||||
from event as x
|
from event as x
|
||||||
where website_id = $1
|
where website_id = $1
|
||||||
and rev_id = $2
|
and rev_id = $2
|
||||||
|
Loading…
Reference in New Issue
Block a user