diff options
author | Mateja <mail@matejamaric.com> | 2020-11-26 23:20:25 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-26 23:20:25 +0100 |
commit | c47af3603f2c53edf384e9dd7f2ae00317c9062d (patch) | |
tree | c2f51cff78106bfac93a177788cfc0ac1b6fa9b4 /app/Http/Controllers | |
parent | 69c5d739142daba181fbe30cecc58b0c66bb087b (diff) | |
download | yota-laravel-c47af3603f2c53edf384e9dd7f2ae00317c9062d.tar.gz yota-laravel-c47af3603f2c53edf384e9dd7f2ae00317c9062d.zip |
Added modes to activities.
Diffstat (limited to 'app/Http/Controllers')
-rw-r--r-- | app/Http/Controllers/ReservationsController.php | 4 |
1 files changed, 2 insertions, 2 deletions
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() |