Commit 5f6cc6ef by David Ormsbee

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