aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--services/app/src/App.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/app/src/App.php b/services/app/src/App.php
index 6cb9dc2..0c7e3d2 100644
--- a/services/app/src/App.php
+++ b/services/app/src/App.php
@@ -259,7 +259,7 @@ final class App
if ($quiz->isRankingHidden()) {
$ranking = null;
} else {
- $ranking = $answerRepo->getRanking($quiz->quiz_id, upto: 20);
+ $ranking = $answerRepo->getRankingByBestScores($quiz->quiz_id, upto: 20);
}
$currentUser = $this->getCurrentUser($request);