Get the correct ordering for flight route on map

This commit is contained in:
Nabeel Shahzad
2018-02-21 15:15:12 -06:00
parent ec9d00c597
commit 77055991af
2 changed files with 11 additions and 5 deletions

View File

@@ -240,7 +240,7 @@ class Pirep extends BaseModel
{
return $this->hasMany(Acars::class, 'pirep_id')
->where('type', AcarsType::FLIGHT_PATH)
->orderBy('created_at', 'asc');
->orderBy('created_at', 'desc');
}
public function acars_logs()