From c47af3603f2c53edf384e9dd7f2ae00317c9062d Mon Sep 17 00:00:00 2001 From: Mateja Date: Thu, 26 Nov 2020 23:20:25 +0100 Subject: Added modes to activities. --- app/Http/Controllers/ReservationsController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/Http/Controllers/ReservationsController.php b/app/Http/Controllers/ReservationsController.php index ae130fc..37e5067 100644 --- a/app/Http/Controllers/ReservationsController.php +++ b/app/Http/Controllers/ReservationsController.php @@ -32,7 +32,7 @@ class ReservationsController extends Controller if ($request->input('call-sign') == 'all') { $activities = Reservation::where('approved', '1') - ->select('operatorCall', 'fromTime', 'toTime', 'specialCall', 'frequencies', 'qso') + ->select('operatorCall', 'fromTime', 'toTime', 'specialCall', 'frequencies', 'modes', 'qso') ->orderBy('fromTime', 'asc') ->get()->toArray(); $data = [ @@ -43,7 +43,7 @@ class ReservationsController extends Controller return response($data); } else { $activities = Reservation::where('approved', '1') - ->select('operatorCall', 'fromTime', 'toTime', 'specialCall', 'frequencies', 'qso') + ->select('operatorCall', 'fromTime', 'toTime', 'specialCall', 'frequencies', 'modes', 'qso') ->where('specialCall', $request->input('call-sign')) ->orderBy('fromTime', 'asc') ->get() -- cgit v1.2.3