X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FModels%2FTournament.php;h=217622bb9681c950d6b4113b38464ef6bf4ed167;hb=d1f28ea443b090c7593791eba9631796ccaeafe1;hp=f8b4804859fd6b03447901574647cf91941ced9b;hpb=c30ac282dde3d746d6a7762ee18c70b4416500b5;p=alttp.git diff --git a/app/Models/Tournament.php b/app/Models/Tournament.php index f8b4804..217622b 100644 --- a/app/Models/Tournament.php +++ b/app/Models/Tournament.php @@ -18,7 +18,7 @@ class Tournament extends Model } public function rounds() { - return $this->hasMany(Round::class)->orderBy('created_at'); + return $this->hasMany(Round::class)->orderBy('number', 'DESC'); } }