Skip to content

Commit

Permalink
Merge pull request #29 from uw-it-aca/q/fix/MUWM-2290
Browse files Browse the repository at this point in the history
Resolve bug MUWM-2290 - not display grades for auditors
  • Loading branch information
fanglinfang committed Dec 11, 2014
2 parents d3abe12 + 52180f1 commit edf86b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ "AddAccessCode" : "",
"Auditor" : false,
"Auditor" : true,
"Credits" : "5.0",
"DropAccessCode" : "",
"DuplicateCode" : "",
"FacultySequenceNumber" : "",
"FeeBaseType" : "",
"Grade" : "X",
"Grade" : "3.5",
"GradeDate" : "",
"GradeDocumentID" : "000000000",
"HonorsCourse" : false,
Expand Down
2 changes: 1 addition & 1 deletion myuw_mobile/static/js/card/grade.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var GradeCard = {
}
var index;
for (index = 0; index < course_data.sections.length; index += 1) {
if (course_data.sections[index].is_primary_section) {
if (course_data.sections[index].is_primary_section && !course_data.sections[index].is_auditor) {
course_data.sections[index].display_grade = true;
has_section_to_display = true;
} else {
Expand Down

0 comments on commit edf86b0

Please sign in to comment.