diff --git a/app/Http/Controllers/StatisticsController.php b/app/Http/Controllers/StatisticsController.php index a8ad453ef..bb61cec6f 100644 --- a/app/Http/Controllers/StatisticsController.php +++ b/app/Http/Controllers/StatisticsController.php @@ -745,7 +745,7 @@ public function utilisation( StatisticsRequest $r ): View $days = TrafficDailyPhysInt::select( [ 'day' ] ) ->distinct( 'day' ) - ->orderBy( 'day')->get()->pluck( 'day' )->toArray(); + ->orderBy( 'day', 'desc')->get()->pluck( 'day' )->toArray(); if( count( $days ) ) { $day = $r->day;