chore: Update project query to order by name in lowercase

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

View File

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