aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-26 23:20:25 +0100
committerMateja <mail@matejamaric.com>2020-11-26 23:20:25 +0100
commitc47af3603f2c53edf384e9dd7f2ae00317c9062d (patch)
treec2f51cff78106bfac93a177788cfc0ac1b6fa9b4 /app/Http/Controllers
parent69c5d739142daba181fbe30cecc58b0c66bb087b (diff)
downloadyota-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.php4
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()