Skip to content

Commit ab23135

Browse files
authored
Fix Admin Leaderboard Ordering
1 parent c29da7c commit ab23135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/controllers/admin/AdminController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function dashboard()
2828
$data->pireps = Stats::totalFlights($days);
2929
$data->hrs = Time::secsToString(Stats::totalHours($days));
3030
$data->pilots = Stats::pilotsApplied($days);
31-
$data->leaderboard = Stats::pilotLeaderboard(10, 'flighttime / flightcount', 'DESC', $days);
31+
$data->leaderboard = Stats::pilotLeaderboard(10, 'flighttime', 'DESC', $days);
3232
$data->active_dropdown = 'site-management';
3333

3434
$dates = daterange(date("Y-m-d", strtotime("-{$days} days")), date("Y-m-d"));

0 commit comments

Comments
 (0)