hide those with 0 cams in highscore list

This commit is contained in:
2025-08-25 18:29:55 +02:00
parent f2423b34a8
commit 09549aabea

View File

@@ -41,7 +41,7 @@ impl Backend {
WHERE rank <= COALESCE(
(SELECT rank FROM ranked_clients ORDER BY rank LIMIT 1 OFFSET 9),
(SELECT MAX(rank) FROM ranked_clients)
)
) AND amount > 0
ORDER BY rank, name"
)
.fetch_all(db)