mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
fix: broken sql queries for expanded metrics
This commit is contained in:
parent
a19b92a5cb
commit
17c66c10c2
3 changed files with 3 additions and 3 deletions
|
|
@ -58,7 +58,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",
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ async function relationalQuery(
|
|||
sum(${getTimestampDiffSQL('t.min_time', 't.max_time')}) as "totaltime"
|
||||
from (
|
||||
select
|
||||
${column} name,
|
||||
${column} as name,
|
||||
${includeCountry ? 'country,' : ''}
|
||||
website_event.session_id,
|
||||
website_event.visit_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue