mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix ShowRank() ranking order by
This commit is contained in:
parent
2edeb21d34
commit
402387095d
|
@ -597,8 +597,8 @@ bool CScoreWorker::ShowRank(IDbConnection *pSqlServer, const ISqlData *pGameData
|
|||
" FROM %s_race "
|
||||
" WHERE Map = ? "
|
||||
" AND Server LIKE ?"
|
||||
" GROUP BY Name, Time "
|
||||
" WINDOW w AS (ORDER BY Time)"
|
||||
" GROUP BY Name "
|
||||
" WINDOW w AS (ORDER BY MIN(Time))"
|
||||
") as a "
|
||||
"WHERE Name = ?",
|
||||
pSqlServer->GetPrefix());
|
||||
|
|
Loading…
Reference in a new issue