mirror of
https://github.com/knadh/listmonk.git
synced 2025-02-23 13:55:29 +08:00
Fix sorting in camapaign analytics view counts.
This commit is contained in:
parent
6cb9982aac
commit
284158666b
1 changed files with 1 additions and 1 deletions
|
@ -703,7 +703,7 @@ uniqIDs AS (
|
||||||
ORDER BY subscriber_id, "timestamp"
|
ORDER BY subscriber_id, "timestamp"
|
||||||
)
|
)
|
||||||
SELECT COUNT(*) AS "count", campaign_id, "timestamp"
|
SELECT COUNT(*) AS "count", campaign_id, "timestamp"
|
||||||
FROM uniqIDs GROUP BY campaign_id, "timestamp";
|
FROM uniqIDs GROUP BY campaign_id, "timestamp" ORDER BY "timestamp" ASC;
|
||||||
|
|
||||||
-- name: get-campaign-analytics-counts
|
-- name: get-campaign-analytics-counts
|
||||||
-- raw: true
|
-- raw: true
|
||||||
|
|
Loading…
Reference in a new issue