chore: Update project query to order by name in uppercase

This commit is contained in:
Andras Bacsai
2024-10-05 15:04:31 +02:00
parent a1124a885d
commit 2da6f66e85

View File

@@ -28,7 +28,7 @@ class Project extends BaseModel
public static function ownedByCurrentTeam() public static function ownedByCurrentTeam()
{ {
return Project::whereTeamId(currentTeam()->id)->orderBy('name'); return Project::whereTeamId(currentTeam()->id)->orderByRaw('UPPER(name)');
} }
protected static function booted() protected static function booted()