mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-16 20:49:28 +00:00
chore: Update project query to order by name in uppercase
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user