mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 15:47:13 +01:00
Fixed reports.
This commit is contained in:
parent
3e9cb66db2
commit
530d6fb323
12 changed files with 59 additions and 33 deletions
|
|
@ -42,7 +42,7 @@ async function relationalQuery(
|
|||
|
||||
return rawQuery(
|
||||
`
|
||||
select ${column} as "value", count(*)
|
||||
select ${column} as "value", count(*) as "count"
|
||||
from website_event
|
||||
inner join session
|
||||
on session.session_id = website_event.session_id
|
||||
|
|
@ -98,7 +98,7 @@ async function clickhouseQuery(
|
|||
|
||||
return rawQuery(
|
||||
`
|
||||
select ${column} as value, count(*)
|
||||
select ${column} as "value", count(*) as "count"
|
||||
from website_event
|
||||
where website_id = {websiteId:UUID}
|
||||
and created_at between {startDate:DateTime64} and {endDate:DateTime64}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue