mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2024-11-22 03:01:02 +00:00
fix questions sorting
This commit is contained in:
parent
1f0f928795
commit
f41784175f
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
# upcoming
|
||||||
|
|
||||||
|
* fix a bug where questions could not be sorted
|
||||||
|
|
||||||
# 1.0.2
|
# 1.0.2
|
||||||
|
|
||||||
* fix compatibility issue with pretalx 2.3.1
|
* fix compatibility issue with pretalx 2.3.1
|
||||||
|
|
|
@ -180,7 +180,7 @@ class PDFInfoPage(Flowable):
|
||||||
style=self.style["Heading"],
|
style=self.style["Heading"],
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
for answer in sorted(self.talk.submission.answers.all()):
|
for answer in self.talk.submission.answers.order_by("question"):
|
||||||
if answer.question.id not in self._questions:
|
if answer.question.id not in self._questions:
|
||||||
continue
|
continue
|
||||||
self._question_text(
|
self._question_text(
|
||||||
|
|
Loading…
Reference in a new issue