1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-24 00:21:02 +00:00

do not sort speaker names in schedule

This commit is contained in:
Franzi 2023-02-28 08:30:58 +01:00
parent 2da018775b
commit 327981eade
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -112,12 +112,10 @@ class BroadcastToolsScheduleView(EventPermissionRequired, ScheduleMixin, View):
.isoformat(), .isoformat(),
"slug": talk.frab_slug, "slug": talk.frab_slug,
"title": talk.submission.title, "title": talk.submission.title,
"persons": sorted( "persons": [
{ person.get_display_name()
person.get_display_name() for person in talk.submission.speakers.all()
for person in talk.submission.speakers.all() ],
}
),
"track": { "track": {
"color": talk.submission.track.color, "color": talk.submission.track.color,
"name": str(talk.submission.track.name), "name": str(talk.submission.track.name),