diff options
Diffstat (limited to 'includes/pages/admin_arrive.php')
-rw-r--r-- | includes/pages/admin_arrive.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/admin_arrive.php b/includes/pages/admin_arrive.php index 312fd6dc..d6d7ad48 100644 --- a/includes/pages/admin_arrive.php +++ b/includes/pages/admin_arrive.php @@ -64,7 +64,7 @@ function admin_arrive() } /** @var User[] $users */ - $users = User::query()->orderBy('name')->get(); + $users = User::with('personalData')->orderBy('name')->get(); $arrival_count_at_day = []; $planned_arrival_count_at_day = []; $planned_departure_count_at_day = []; @@ -91,7 +91,7 @@ function admin_arrive() } } - $usr->name = User_Nick_render($usr); + $usr->name = User_Nick_render($usr) . User_Pronoun_render($usr); $plannedDepartureDate = $usr->personalData->planned_departure_date; $arrivalDate = $usr->state->arrival_date; $plannedArrivalDate = $usr->personalData->planned_arrival_date; |