Skip to content

Commit

Permalink
Fix sorting in camapaign analytics view counts.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Jan 28, 2024
1 parent 6cb9982 commit 2841586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queries.sql
Expand Up @@ -703,7 +703,7 @@ uniqIDs AS (
ORDER BY subscriber_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
-- raw: true
Expand Down

0 comments on commit 2841586

Please sign in to comment.