Skip to content

Commit

Permalink
Fix student log message display for quizzes
Browse files Browse the repository at this point in the history
This bug was introduced at implementation (d384459)
  • Loading branch information
krishnans2006 committed May 22, 2024
1 parent 1219b28 commit 809795d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tin/apps/assignments/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def student_submissions_view(request, assignment_id, student_id):
published_submission = publishes.latest().submission if publishes else latest_submission

log_messages = (
assignment.quiz.log_messages.filter(student=request.user).order_by("date")
assignment.quiz.log_messages.filter(student=student).order_by("date")
if assignment.is_quiz
else None
)
Expand Down

0 comments on commit 809795d

Please sign in to comment.