diff options
Diffstat (limited to 'app/Http')
-rw-r--r-- | app/Http/Controllers/ReservationsController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Http/Controllers/ReservationsController.php b/app/Http/Controllers/ReservationsController.php index 8f15105..e12e3f7 100644 --- a/app/Http/Controllers/ReservationsController.php +++ b/app/Http/Controllers/ReservationsController.php @@ -34,6 +34,7 @@ class ReservationsController extends Controller $activities = Reservation::where('approved', '1') ->select('operatorCall', 'fromTime', 'toTime', 'specialCall', 'frequencies', 'modes', 'qso') ->orderBy('fromTime', 'asc') + ->orderBy('toTime', 'asc') ->get()->toArray(); $data = [ 'status' => 'OK', @@ -46,6 +47,7 @@ class ReservationsController extends Controller ->select('operatorCall', 'fromTime', 'toTime', 'specialCall', 'frequencies', 'modes', 'qso') ->where('specialCall', $request->input('call-sign')) ->orderBy('fromTime', 'asc') + ->orderBy('toTime', 'asc') ->get() ->toArray(); $data = [ |