Made list sort order case insensitive
This commit is contained in:
parent
22c5118e7d
commit
8da6442e66
@ -637,8 +637,8 @@ class SyncplayUserlist(object):
|
|||||||
|
|
||||||
def sortList(self, rooms):
|
def sortList(self, rooms):
|
||||||
for room in rooms:
|
for room in rooms:
|
||||||
rooms[room] = sorted(rooms[room])
|
rooms[room] = sorted(rooms[room], key=lambda s: s.username.lower())
|
||||||
rooms = collections.OrderedDict(sorted(rooms.items()))
|
rooms = collections.OrderedDict(sorted(rooms.items(), key=lambda s: s[0].lower()))
|
||||||
return rooms
|
return rooms
|
||||||
|
|
||||||
class UiManager(object):
|
class UiManager(object):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user