mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 22:27:16 +01:00
fix hasdata queries, add hasData to website events, fix sessionactivity truncation,
This commit is contained in:
parent
9230f3cb7b
commit
f3e246c64b
5 changed files with 60 additions and 24 deletions
|
|
@ -29,10 +29,10 @@ async function relationalQuery(websiteId: string, sessionId: string, filters: Qu
|
|||
event_type as "eventType",
|
||||
event_name as "eventName",
|
||||
visit_id as "visitId",
|
||||
event_id IN (select event_id
|
||||
event_id IN (select website_event_id
|
||||
from event_data
|
||||
where website_id = {{websiteId::uuid}}
|
||||
and session_id = {{sessionId::uuid}}) AS "hasData"
|
||||
and created_at between {{startDate}} and {{endDate}}) AS "hasData"
|
||||
from website_event
|
||||
where website_id = {{websiteId::uuid}}
|
||||
and session_id = {{sessionId::uuid}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue