umami icon indicating copy to clipboard operation
umami copied to clipboard

the events count in a session detail page is not right

Open pinkli opened this issue 5 months ago • 1 comments

Describe the Bug

the count is the same as views, see code https://github.com/umami-software/umami/blob/1b6429f55b2b16ce7b1ff89760b502cef9edbbb8/src/queries/analytics/sessions/getWebsiteSession.ts#L50

should change to case when website_event.event_type = 1 then 0 else 1 end

Database

PostgreSQL

Relevant log output

No response

Which Umami version are you using? (if relevant)

master branch

Which browser are you using? (if relevant)

No response

How are you deploying your application? (if relevant)

No response

pinkli avatar Sep 24 '24 09:09 pinkli