mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 01:55:36 +01:00
fix ordering for revenue country card
This commit is contained in:
parent
6235aaf1c7
commit
21d081f7d3
1 changed files with 1 additions and 0 deletions
|
|
@ -225,6 +225,7 @@ async function clickhouseQuery(
|
||||||
and ed.created_at between {startDate:DateTime64} and {endDate:DateTime64}
|
and ed.created_at between {startDate:DateTime64} and {endDate:DateTime64}
|
||||||
and positionCaseInsensitive(ed.data_key, 'revenue') > 0
|
and positionCaseInsensitive(ed.data_key, 'revenue') > 0
|
||||||
group by s.country
|
group by s.country
|
||||||
|
order by value desc
|
||||||
`,
|
`,
|
||||||
{ websiteId, startDate, endDate, currency },
|
{ websiteId, startDate, endDate, currency },
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue