This commit is contained in:
Andras Bacsai
2023-06-22 14:31:23 +02:00
parent ad04bdc99c
commit fa2f34ba3c
3 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ class Project extends BaseModel
];
static public function ownedByCurrentTeam()
{
return Project::whereTeamId(session('currentTeam')->id);
return Project::whereTeamId(session('currentTeam')->id)->orderBy('name');
}
public function team()
{