Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
c58b3a14
Commit
c58b3a14
authored
Apr 13, 2017
by
Nimisha Asthagiri
Committed by
GitHub
Apr 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14880 from edx/efischer/progress_order
chapter_grades should be ordered
parents
be5c4fad
8e7dc093
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lms/djangoapps/grades/new/course_grade.py
+4
-4
No files found.
lms/djangoapps/grades/new/course_grade.py
View file @
c58b3a14
...
...
@@ -59,10 +59,10 @@ class CourseGradeBase(object):
subsection grades, display name, and url name.
"""
course_structure
=
self
.
course_data
.
structure
return
{
chapter_key
:
self
.
_get_chapter_grade_info
(
course_structure
[
chapter_key
],
course_structure
)
for
chapter_key
in
course_structure
.
get_children
(
self
.
course_data
.
location
)
}
grades
=
OrderedDict
()
for
chapter_key
in
course_structure
.
get_children
(
self
.
course_data
.
location
):
grades
[
chapter_key
]
=
self
.
_get_chapter_grade_info
(
course_structure
[
chapter_key
],
course_structure
)
return
grades
@lazy
def
subsection_grades
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment