Acars log ordering

This commit is contained in:
Nabeel Shahzad
2018-05-11 13:05:34 -05:00
parent 605bf477ad
commit b8424f712d

View File

@@ -400,7 +400,7 @@ class Pirep extends Model
{
return $this->hasMany(Acars::class, 'pirep_id')
->where('type', AcarsType::LOG)
->orderBy('created_at', 'asc');
->orderBy('created_at', 'desc');
}
public function acars_route()