Commit 9f58f656 by Peter Fogg

Merge pull request #9261 from edx/peter-fogg/test-rc-fix

Test Cale's RC fix.
parents 25537da0 a6891609
......@@ -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
# the scores instead, it will have to do.
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'))
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