Skip to content

Commit aaf509e

Browse files
committed
fix order by field for contributors
1 parent 731ee49 commit aaf509e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/types/type_collaborative.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def metadata(self) -> Optional[List["TypeCollaborativeMetadata"]]:
187187
def contributors(self) -> Optional[List["TypeUser"]]:
188188
"""Get contributors associated with this collaborative."""
189189
try:
190-
queryset = self.contributors.all().order_by("full_name") # type: ignore
190+
queryset = self.contributors.all().order_by("first_name") # type: ignore
191191
if not queryset.exists():
192192
return []
193193
return TypeUser.from_django_list(queryset)

0 commit comments

Comments
 (0)