Show ballot positions also for documents without an active ballot.

- Legacy-Id: 4817
This commit is contained in:
Henrik Levkowetz 2012-08-28 18:14:27 +00:00
commit ac3c8f0dff

View file

@ -296,7 +296,7 @@ def document_ballot_content(request, doc, ballot_id, editable=True):
deferred = doc.active_defer_event()
positions = doc.active_ballot().all_positions() if doc.active_ballot() else []
positions = doc.active_ballot().all_positions() if doc.active_ballot() else ballot.all_positions()
# put into position groups
position_groups = []