Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
fix ordering for revenue country card
Francis Cao21d081f7d3c8
diff --git a/src/queries/sql/reports/getRevenue.ts b/src/queries/sql/reports/getRevenue.tsindex f1fb1d73b..c0fbc7a25 100644--- a/src/queries/sql/reports/getRevenue.ts+++ b/src/queries/sql/reports/getRevenue.ts@@ -225,6 +225,7 @@ async function clickhouseQuery(and ed.created_at between {startDate:DateTime64} and {endDate:DateTime64}and positionCaseInsensitive(ed.data_key, 'revenue') > 0group by s.country+ order by value desc`,{ websiteId, startDate, endDate, currency },);