Acars log ordering
This commit is contained in:
@@ -400,7 +400,7 @@ class Pirep extends Model
|
|||||||
{
|
{
|
||||||
return $this->hasMany(Acars::class, 'pirep_id')
|
return $this->hasMany(Acars::class, 'pirep_id')
|
||||||
->where('type', AcarsType::LOG)
|
->where('type', AcarsType::LOG)
|
||||||
->orderBy('created_at', 'asc');
|
->orderBy('created_at', 'desc');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function acars_route()
|
public function acars_route()
|
||||||
|
|||||||
Reference in New Issue
Block a user