From 21046dde66642ee71d2cfa2e2b2ba0b034b01e29 Mon Sep 17 00:00:00 2001 From: Adrian Hopek Date: Fri, 18 Mar 2022 13:35:01 +0100 Subject: [PATCH] fix --- app/Infrastructure/Http/Controllers/VacationLimitController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Infrastructure/Http/Controllers/VacationLimitController.php b/app/Infrastructure/Http/Controllers/VacationLimitController.php index 8adf315..a56f2c3 100644 --- a/app/Infrastructure/Http/Controllers/VacationLimitController.php +++ b/app/Infrastructure/Http/Controllers/VacationLimitController.php @@ -25,6 +25,7 @@ class VacationLimitController extends Controller $limits = $yearPeriod ->vacationLimits() ->with("user") + ->has("user") ->orderByUserField("last_name") ->orderByUserField("first_name") ->get();