mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +01:00
Don't show event data on page views in event-data
This commit is contained in:
parent
3656234b5a
commit
46dd16260a
2 changed files with 5 additions and 2 deletions
|
|
@ -51,6 +51,7 @@ async function relationalQuery(websiteId: string, filters: QueryFilters) {
|
|||
on website_event.event_id = event_data.website_event_id
|
||||
where event_data.website_id = {{websiteId::uuid}}
|
||||
and event_data.created_at between {{startDate}} and {{endDate}}
|
||||
and website_event.event_name is not null
|
||||
group by website_event.event_name, event_data.event_key, event_data.data_type
|
||||
order by 1 asc, 2 asc
|
||||
limit 500
|
||||
|
|
|
|||
|
|
@ -32,8 +32,10 @@ async function relationalQuery(websiteId: string, filters: QueryFilters) {
|
|||
event_key,
|
||||
count(*) as "total"
|
||||
from event_data
|
||||
where website_id = {{websiteId::uuid}}
|
||||
and created_at between {{startDate}} and {{endDate}}
|
||||
join website_event on website_event.event_id = event_data.website_event_id
|
||||
where website_event.website_id = {{websiteId::uuid}}
|
||||
and event_data.created_at between {{startDate}} and {{endDate}}
|
||||
and website_event.event_name is not null
|
||||
${filterQuery}
|
||||
group by website_event_id, event_key
|
||||
) as t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue