mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
optimize getWebsiteEvent hasData
This commit is contained in:
parent
5244d8608b
commit
cc3710880c
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ async function clickhouseQuery(websiteId: string, filters: QueryFilters) {
|
|||
page_title as pageTitle,
|
||||
event_type as eventType,
|
||||
event_name as eventName,
|
||||
event_id IN (SELECT event_id FROM event_data) as hasData
|
||||
event_id IN (SELECT event_id FROM event_data where website_id = {websiteId:UUID}) as hasData
|
||||
from website_event
|
||||
${cohortQuery}
|
||||
where website_id = {websiteId:UUID}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue