diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-10 10:48:44 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-10 10:48:44 +0900 |
| commit | 1b51b9cf1ea993357af6b76f306e04cdade95bb7 (patch) | |
| tree | 2be65867648db9f0449a700dd88a1f41cc10000e | |
| parent | 6ed373e14764e6bebac876c4f6b32fdd85fa03d2 (diff) | |
| download | phperkaigi-2024-albatross-1b51b9cf1ea993357af6b76f306e04cdade95bb7.tar.gz phperkaigi-2024-albatross-1b51b9cf1ea993357af6b76f306e04cdade95bb7.tar.zst phperkaigi-2024-albatross-1b51b9cf1ea993357af6b76f306e04cdade95bb7.zip | |
show only best scores in score chart as well as admin page
| -rw-r--r-- | services/app/src/App.php | 2 |
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); |
