mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
fix: fix SQL syntax error in getPageviewExpandedMetrics query
This commit is contained in:
parent
aaa1f9dc58
commit
67e1af7e55
1 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ async function relationalQuery(
|
|||
sum(${getTimestampDiffSQL('t.min_time', 't.max_time')}) as "totaltime"
|
||||
from (
|
||||
select
|
||||
${column} name,
|
||||
${column} as name,
|
||||
website_event.session_id,
|
||||
website_event.visit_id,
|
||||
count(*) as "c",
|
||||
|
|
@ -101,7 +101,7 @@ async function relationalQuery(
|
|||
and website_event.event_type != 2
|
||||
${excludeDomain}
|
||||
${filterQuery}
|
||||
group by name, website_event.session_id, website_event.visit_id
|
||||
group by ${column}, website_event.session_id, website_event.visit_id
|
||||
) as t
|
||||
where name != ''
|
||||
group by name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue