Added a challenge for flying the 3 major airline alliances

This commit is contained in:
2026-07-20 14:39:37 +10:00
parent 267fd6fd12
commit b3047e9571
@@ -102,6 +102,7 @@ class UserProfileController extends Controller
$canView = Gate::allows('viewProfileData', $user);
$achievements = Achievement::with(['category', 'difficulty'])
->orderBy('id', 'asc')
->get()
->groupBy(fn(Achievement $a) => $a->category->name)
->map(fn($group) => $group->sortBy('sort_order')->values());