mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
fix clickhouse calls (#1536)
This commit is contained in:
parent
dfac7e1af5
commit
78c3453639
10 changed files with 41 additions and 34 deletions
|
|
@ -43,7 +43,7 @@ async function clickhouseQuery(website_id, { startDate, endDate, column, filters
|
|||
`select ${column} x, count(*) y
|
||||
from event
|
||||
where website_id= $1
|
||||
${column !== 'event_name' ? `and event_name = ''` : ''}
|
||||
${column !== 'event_name' ? `and event_name = ''` : `and event_name != ''`}
|
||||
and ${getBetweenDates('created_at', startDate, endDate)}
|
||||
${pageviewQuery}
|
||||
${sessionQuery}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue