Skip to content

Commit

Permalink
fix front page to cope with respose types being part of sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Apr 18, 2024
1 parent 523bc5f commit aabdec5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crowdsourcer/views/marking.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ def get_context_data(self, **kwargs):
if self.current_stage.type == "Audit":
types = ["volunteer", "national_volunteer", "foi"]

first_mark = ResponseType.objects.get(type="First Mark")
first_mark = ResponseType.objects.get(
type="First Mark", marking_session=self.current_session
)

progress = []
question_cache = {}
Expand Down

0 comments on commit aabdec5

Please sign in to comment.