Fix bug in results page when no results are published.

This commit is contained in:
Matt Young 2024-10-31 16:08:06 -05:00
parent 344ee8e22f
commit c2110b06b9
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@ class ResultsPage extends Controller
*/
public function __invoke(Request $request)
{
$publishedAdvancementAuditions = [];
$resultsAdvancementList = [];
$publishedAuditions = Audition::seatsPublished()
->with('seats.ensemble')
->with('seats.entry.student')