Skip to content

Commit

Permalink
fix: sorting on teacher update
Browse files Browse the repository at this point in the history
  • Loading branch information
solumath committed Sep 9, 2024
1 parent dde2e5a commit 75a7ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/fitwide/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def get_teacher_perms_list(

channel_teachers.append(user)

channel_teachers.sort()
channel_teachers.sort(key=lambda x: x.display_name)
perms_list = None

if channel_teachers:
Expand Down

0 comments on commit 75a7ae9

Please sign in to comment.