hide those with 0 cams in highscore list
This commit is contained in:
@@ -41,7 +41,7 @@ impl Backend {
|
|||||||
WHERE rank <= COALESCE(
|
WHERE rank <= COALESCE(
|
||||||
(SELECT rank FROM ranked_clients ORDER BY rank LIMIT 1 OFFSET 9),
|
(SELECT rank FROM ranked_clients ORDER BY rank LIMIT 1 OFFSET 9),
|
||||||
(SELECT MAX(rank) FROM ranked_clients)
|
(SELECT MAX(rank) FROM ranked_clients)
|
||||||
)
|
) AND amount > 0
|
||||||
ORDER BY rank, name"
|
ORDER BY rank, name"
|
||||||
)
|
)
|
||||||
.fetch_all(db)
|
.fetch_all(db)
|
||||||
|
Reference in New Issue
Block a user