UI: Improve multi OS display #205
@ -728,7 +728,7 @@ class Version(CreatedModifiedMixin, TrackChangesMixin, models.Model):
|
|||||||
supported_platforms[platform.name_first_word] = architectures
|
supported_platforms[platform.name_first_word] = architectures
|
||||||
result = []
|
result = []
|
||||||
for platform, architectures in sorted(supported_platforms.items()):
|
for platform, architectures in sorted(supported_platforms.items()):
|
||||||
item = {'name': platform, 'architectures': architectures}
|
item = {'name': platform, 'architectures': sorted(architectures)}
|
||||||
result.append(item)
|
result.append(item)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user