From 1b51b9cf1ea993357af6b76f306e04cdade95bb7 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 10 Mar 2024 10:48:44 +0900 Subject: show only best scores in score chart as well as admin page --- services/app/src/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2