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
a6891609
Commit
a6891609
authored
Aug 10, 2015
by
Peter Fogg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Cale's RC fix.
parent
25537da0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
lms/djangoapps/courseware/views.py
+3
-1
No files found.
lms/djangoapps/courseware/views.py
View file @
a6891609
...
@@ -1212,7 +1212,9 @@ def submission_history(request, course_id, student_username, location):
...
@@ -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
# 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.
# the scores instead, it will have to do.
scores
=
list
(
StudentModuleHistory
.
objects
.
filter
(
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'
))
)
.
order_by
(
'-id'
))
if
len
(
scores
)
!=
len
(
history_entries
):
if
len
(
scores
)
!=
len
(
history_entries
):
...
...
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