Commit a6891609 by Peter Fogg

Test Cale's RC fix.

parent 25537da0
...@@ -1212,7 +1212,9 @@ def submission_history(request, course_id, student_username, location): ...@@ -1212,7 +1212,9 @@ def submission_history(request, course_id, student_username, location):
# This is ugly, but until we have a proper submissions API that we can use to provide # This is ugly, but until we have a proper submissions API that we can use to provide
# the scores instead, it will have to do. # the scores instead, it will have to do.
scores = list(StudentModuleHistory.objects.filter( scores = list(StudentModuleHistory.objects.filter(
student_module__module_state_key=usage_key student_module__module_state_key=usage_key,
student_module__student__username=student_username,
student_module__course_id=course_key
).order_by('-id')) ).order_by('-id'))
if len(scores) != len(history_entries): if len(scores) != len(history_entries):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment