Minor formatting cleanup
This commit is contained in:
parent
6386a204d7
commit
5a629b8cb6
|
|
@ -20,7 +20,10 @@ class AuditionCacheService
|
|||
public function getAuditions(): \Illuminate\Database\Eloquent\Collection
|
||||
{
|
||||
return Cache::rememberForever($this->cacheKey, function () {
|
||||
return Audition::with(['scoringGuide.subscores'])->get()->keyBy('id');
|
||||
return Audition::with(['scoringGuide.subscores'])
|
||||
->orderBy('score_order')
|
||||
->get()
|
||||
->keyBy('id');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue