Quick fix for scores within a homework/lab showing up in reverse order.

The real fix would be to have yield_dynamic_descriptor_descendents return
things in the proper order, but I'm not entirely sure what's going on
there, and this is a bug on prod now.
This commit is contained in:
David Ormsbee
2012-09-24 16:24:38 -04:00
parent eae2ef1d74
commit 5f6cc6ef93

View File

@@ -303,6 +303,7 @@ def progress_summary(student, request, course, student_module_cache):
scores.append(Score(correct, total, graded,
module_descriptor.metadata.get('display_name')))
scores.reverse()
section_total, graded_total = graders.aggregate_scores(
scores, section_module.metadata.get('display_name'))