Skip to content

Commit a7265ce

Browse files
committed
Fix isFinal flag
1 parent 0b23fef commit a7265ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sql/reports/topcoder/leaderboard-mm.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ submission_metrics AS (
5959
rs."isFinal" IS TRUE AS is_strict_final
6060
FROM reviews."reviewSummation" AS rs
6161
WHERE rs."submissionId" = s.id
62-
AND COALESCE(rs."isFinal", TRUE) = TRUE
62+
AND COALESCE(rs."isFinal", FALSE) = TRUE
6363
AND rs."isProvisional" IS DISTINCT FROM TRUE
6464
ORDER BY COALESCE(rs."reviewedDate", rs."createdAt") DESC NULLS LAST, rs.id DESC
6565
LIMIT 1

0 commit comments

Comments
 (0)