More work on the pirep/acars maps

This commit is contained in:
Nabeel Shahzad
2017-12-28 14:35:28 -06:00
parent ee328dabc6
commit 9d92d8af55
7 changed files with 40 additions and 50 deletions

View File

@@ -94,7 +94,7 @@ class Pirep extends BaseModel
public function acars()
{
return $this->hasMany('App\Models\Acars', 'pirep_id')
->orderBy('created_at', 'desc');
->orderBy('created_at', 'asc');
}
public function aircraft()