mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
fix day filter
This commit is contained in:
parent
5e64eac396
commit
b37a1fce63
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,6 @@ async function relationalQuery(
|
||||||
from user_activities a
|
from user_activities a
|
||||||
join cohort_items c
|
join cohort_items c
|
||||||
on a.session_id = c.session_id
|
on a.session_id = c.session_id
|
||||||
where a.day_number IN (0,1,2,3,4,5,6,7,14,21,30)
|
|
||||||
group by 1, 2
|
group by 1, 2
|
||||||
)
|
)
|
||||||
select
|
select
|
||||||
|
|
@ -81,6 +80,7 @@ async function relationalQuery(
|
||||||
from cohort_date c
|
from cohort_date c
|
||||||
join cohort_size s
|
join cohort_size s
|
||||||
on c.cohort_date = s.cohort_date
|
on c.cohort_date = s.cohort_date
|
||||||
|
where c.day_number IN (0,1,2,3,4,5,6,7,14,21,30)
|
||||||
order by 1, 2`,
|
order by 1, 2`,
|
||||||
{
|
{
|
||||||
websiteId,
|
websiteId,
|
||||||
|
|
@ -144,7 +144,6 @@ async function clickhouseQuery(
|
||||||
from user_activities a
|
from user_activities a
|
||||||
join cohort_items c
|
join cohort_items c
|
||||||
on a.session_id = c.session_id
|
on a.session_id = c.session_id
|
||||||
where a.day_number IN (0,1,2,3,4,5,6,7,14,21,30)
|
|
||||||
group by 1, 2
|
group by 1, 2
|
||||||
)
|
)
|
||||||
select
|
select
|
||||||
|
|
@ -156,6 +155,7 @@ async function clickhouseQuery(
|
||||||
from cohort_date c
|
from cohort_date c
|
||||||
join cohort_size s
|
join cohort_size s
|
||||||
on c.cohort_date = s.cohort_date
|
on c.cohort_date = s.cohort_date
|
||||||
|
where c.day_number IN (0,1,2,3,4,5,6,7,14,21,30)
|
||||||
order by 1, 2`,
|
order by 1, 2`,
|
||||||
{
|
{
|
||||||
websiteId,
|
websiteId,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue