fix ordering for revenue country card
This commit is contained in:
@@ -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 },
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user