fixed teamRankingList

This commit is contained in:
Michael 2019-05-23 12:22:30 +02:00
parent c0befac9e3
commit 59acf0a79f

View File

@ -45,7 +45,7 @@ public interface UserRepository extends CrudRepository<User, Integer> {
" AND t.id = ui.team_id\n" +
" AND ui.team_id IS NOT NULL\n" +
"GROUP BY teamname\n" +
"ORDER by ranking_points_sum DESC\n" +
"ORDER by Ranglistenpunkte DESC\n" +
"LIMIT 10;", nativeQuery = true)
List<Object[]> getTeamRankingList();