mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Merge branch 'dev' of https://github.com/umami-software/umami into analytics
This commit is contained in:
commit
5b144e0953
2 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ async function relationalQuery(websiteId: string, filters: QueryFilters) {
|
|||
where website_event.website_id = {{websiteId::uuid}}
|
||||
${filterQuery}
|
||||
${dateQuery}
|
||||
order by website_event.created_at asc
|
||||
order by website_event.created_at desc
|
||||
limit 100
|
||||
`,
|
||||
params,
|
||||
|
|
@ -59,7 +59,7 @@ async function clickhouseQuery(websiteId: string, filters: QueryFilters): Promis
|
|||
where website_id = {websiteId:UUID}
|
||||
${filterQuery}
|
||||
${dateQuery}
|
||||
order by createdAt asc
|
||||
order by createdAt desc
|
||||
limit 100
|
||||
`,
|
||||
params,
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ export async function getRealtimeData(
|
|||
|
||||
const uniques = new Set();
|
||||
|
||||
const { countries, urls, referrers, events } = activity.reduce(
|
||||
const { countries, urls, referrers, events } = activity.reverse().reduce(
|
||||
(
|
||||
obj: { countries: any; urls: any; referrers: any; events: any },
|
||||
event: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue