when displaying user grades on the user overview page, the function scorm_get_last_completed_attempt is used but it doesn't return attempts that use the attempt status "passed"
this line:
if ($lastattempt = $DB->get_record('scorm_scoes_track', array('userid'=>$userid, 'scormid'=>$scormid, 'value'=> 'completed'), 'max(attempt) as a')) {
needs to include 'passed' status
- blocks
-
MDLQA-234 A teacher can set one of 4 possible options for grading multiple attempts of a SCORM activity
- Passed