mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 14:14:52 +00:00
chore: Update project query to order by name in lowercase
This commit is contained in:
1 parent
2da6f66e85
commit
6928b0a2c8
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user