Skip to content

Commit a59901a

Browse files
author
Dila Adagideli
committed
Merge branch 'BAATP-55-Create-Leaderboard-View' into BAATP-56-Create-Leaderboard-Service
2 parents 0cb5b06 + 8e92b10 commit a59901a

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

File renamed without changes.

src/main/java/com/mayadem/battlearena/api/repository/ArenaLeaderboardRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public interface ArenaLeaderboardRepository extends JpaRepository<ArenaLeaderboa
1414

1515
// En iyi 100 oyuncu (JPQL'de LIMIT yok → Pageable kullanılmalı)
1616
@Query("SELECT a FROM ArenaLeaderboard a ORDER BY a.rankPoints DESC")
17-
List<ArenaLeaderboard> findTop100(Pageable pageable);
17+
List<ArenaLeaderboard> findTopPlayers(Pageable pageable);
1818

1919
// Belirli oyuncunun pozisyonu
2020
@Query("SELECT a FROM ArenaLeaderboard a WHERE a.id = :warriorId")

0 commit comments

Comments
 (0)