Order dashboard systems by name

This commit is contained in:
2024-12-20 16:06:38 +07:00
parent 5fe486b93c
commit b27d983fe6
2 changed files with 5 additions and 2 deletions

View File

@@ -70,7 +70,8 @@ class User extends Authenticatable implements MustVerifyEmail
public function systems()
{
return $this->belongsToMany(System::class);
return $this->belongsToMany(System::class)
->orderBy('name');
}
/* GENERAL METHODS */