Test Cale's RC fix.

This commit is contained in:
Peter Fogg
2015-08-10 19:36:32 -04:00
parent 25537da0c4
commit a6891609be

View File

@@ -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):