From a93a848e03ecc9b16e908e4a2bd8591b12344814 Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Mon, 7 Oct 2013 22:11:24 -0400 Subject: [PATCH] we are already being passed in the module descriptor so we don't need to re-fetch it (and children) --- lms/djangoapps/courseware/grades.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/grades.py b/lms/djangoapps/courseware/grades.py index 4640cd3f82..9b702da4a2 100644 --- a/lms/djangoapps/courseware/grades.py +++ b/lms/djangoapps/courseware/grades.py @@ -283,7 +283,7 @@ def progress_summary(student, request, course, field_data_cache): # TODO: We need the request to pass into here. If we could forego that, our arguments # would be simpler - course_module = get_module(student, request, course.location, field_data_cache, course.id, depth=None) + course_module = get_module_for_descriptor(student, request, course, field_data_cache, course.id) if not course_module: # This student must not have access to the course. return None