chore: Update project query to order by name in lowercase
This commit is contained in:
parent
2da6f66e85
commit
6928b0a2c8
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class Project extends BaseModel
|
||||||
|
|
||||||
public static function ownedByCurrentTeam()
|
public static function ownedByCurrentTeam()
|
||||||
{
|
{
|
||||||
return Project::whereTeamId(currentTeam()->id)->orderByRaw('UPPER(name)');
|
return Project::whereTeamId(currentTeam()->id)->orderByRaw('LOWER(name)');
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static function booted()
|
protected static function booted()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue