Update ranking.py

This commit is contained in:
咕谷酱
2025-09-23 02:37:04 +08:00
parent 0cd10bc543
commit 79805c2858

View File

@@ -342,7 +342,7 @@ async def get_user_ranking(
wheres = [ wheres = [
col(UserStatistics.mode) == ruleset, col(UserStatistics.mode) == ruleset,
col(UserStatistics.pp) > 0, col(UserStatistics.pp) > 0,
col(UserStatistics.is_ranked) == True, col(UserStatistics.is_ranked),
] ]
include = ["user"] include = ["user"]
if sort == "performance": if sort == "performance":