diff --git a/mod/quiz/view.php b/mod/quiz/view.php index fd43e720f6..9db7de0cd6 100644 --- a/mod/quiz/view.php +++ b/mod/quiz/view.php @@ -155,6 +155,11 @@ if ($attempts) { // Work out which columns we need, taking account what data is available in each attempt. list($someoptions, $alloptions) = quiz_get_combined_reviewoptions($quiz, $attempts); + // TODO Remove once Moodle developers fix core moodle bug + // https://app.asana.com/0/1202576739091559/1203214388219424 + // This fixes the Summary page to show mark/unmark + $someoptions->marks = mod_quiz_display_options::extract($quiz->reviewmarks, mod_quiz_display_options::LATER_WHILE_OPEN, + question_display_options::MARK_AND_MAX, question_display_options::MAX_ONLY); $viewobj->attemptcolumn = $quiz->attempts != 1; $viewobj->gradecolumn = $someoptions->marks >= question_display_options::MARK_AND_MAX &&