mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 17:58:55 +00:00
exclude deleted from leaderboard
This commit is contained in:
1 parent
ef5140e2f3
commit
412830e922
2 files changed
+5
-2
No files matched your search
@@ -43,6 +43,8 @@ ON
|
||||
users.token = creator_user_token
|
||||
WHERE
|
||||
users.is_banned IS FALSE
|
||||
AND tts_models.user_deleted_at IS NULL
|
||||
AND tts_models.mod_deleted_at IS NULL
|
||||
GROUP BY creator_user_token
|
||||
ORDER BY uploaded_count desc
|
||||
LIMIT 25;
|
||||
|
||||
@@ -43,8 +43,9 @@ ON
|
||||
users.token = creator_user_token
|
||||
WHERE
|
||||
is_public_listing_approved IS TRUE
|
||||
AND
|
||||
users.is_banned IS FALSE
|
||||
AND users.is_banned IS FALSE
|
||||
AND w2l_templates.user_deleted_at IS NULL
|
||||
AND w2l_templates.mod_deleted_at IS NULL
|
||||
GROUP BY creator_user_token
|
||||
ORDER BY uploaded_count desc
|
||||
LIMIT 25;
|
||||
|
||||
Reference in new issue
Block a user