Skip to content

Commit

Permalink
Merge pull request #379 from edx-solutions/ziafazal/api-set-default-c…
Browse files Browse the repository at this point in the history
…omplete-status

added default value for complete_status
  • Loading branch information
mattdrayer committed Jan 27, 2015
2 parents 62970f9 + 571590a commit a82b49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/djangoapps/organizations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def users(self, request, pk):
user_data['course_count'] = enrollments_by_user.get(user.id, 0)

if str2bool(include_grades) and course_key:
user_grades = {'grade': 0, 'proforma_grade': 0}
user_grades = {'grade': 0, 'proforma_grade': 0, 'complete_status': False}
gradebook = user.studentgradebook_set.filter(course_id=course_key)
if gradebook:
user_grades['grade'] = gradebook[0].grade
Expand Down

0 comments on commit a82b49d

Please sign in to comment.