From 61dab0c6536662b6cc90e5ae728bbd33c4a15f9b Mon Sep 17 00:00:00 2001 From: Adrian Hopek Date: Tue, 8 Feb 2022 13:57:15 +0100 Subject: [PATCH] #22 - wip --- .../Http/Controllers/VacationCalendarController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Infrastructure/Http/Controllers/VacationCalendarController.php b/app/Infrastructure/Http/Controllers/VacationCalendarController.php index ace314d..346550c 100644 --- a/app/Infrastructure/Http/Controllers/VacationCalendarController.php +++ b/app/Infrastructure/Http/Controllers/VacationCalendarController.php @@ -9,7 +9,6 @@ use Carbon\CarbonInterface; use Carbon\CarbonPeriod; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Http\Request; -use Illuminate\Support\Arr; use Inertia\Response; use Toby\Domain\Enums\VacationRequestState; use Toby\Eloquent\Helpers\YearPeriodRetriever; @@ -34,7 +33,7 @@ class VacationCalendarController extends Controller ]) ->orderBy("last_name") ->orderBy("first_name") - ->paginate(); + ->get(); $calendar = [];