Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sql/reports/topcoder/leaderboard-mm.sql
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ submission_metrics AS (
rs."isFinal" IS TRUE AS is_strict_final
FROM reviews."reviewSummation" AS rs
WHERE rs."submissionId" = s.id
AND COALESCE(rs."isFinal", TRUE) = TRUE
AND COALESCE(rs."isFinal", FALSE) = TRUE
AND rs."isProvisional" IS DISTINCT FROM TRUE
ORDER BY COALESCE(rs."reviewedDate", rs."createdAt") DESC NULLS LAST, rs.id DESC
LIMIT 1
Expand Down
Loading