Skip to content

Commit

Permalink
Merge pull request #11484 from nanaya/daily-ranking-order
Browse files Browse the repository at this point in the history
Show daily ranking list in most recent order
  • Loading branch information
notbakaneko authored Sep 11, 2024
2 parents ae9fd8e + 4c653f1 commit ff898fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Ranking/DailyChallengeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function show(string $dateString)
'text' => $dateString,
];
$roomOptions = Room::dailyChallenges()
->orderBy('id')
->orderByDesc('id')
->get()
->map(static::roomId(...))
->map(fn (string $roomName): array => [
Expand Down

0 comments on commit ff898fe

Please sign in to comment.