For the overview report : MDL-14199 "Option to only show / export final grade" and MDL-14198 "Make it clear which student attempt gives the final grade, if the scoring method is first, last or highest score" fixed a small problem I noticed in this patch.
This commit is contained in:
@@ -607,17 +607,18 @@ document.getElementById("noscriptmenuaction").style.display = "none";
|
||||
echo "</td>\n";
|
||||
echo '</tr></table>';
|
||||
}
|
||||
} else if ($download == 'Excel' or $download == 'ODS') {
|
||||
$workbook->close();
|
||||
exit;
|
||||
} else if ($download == 'CSV') {
|
||||
exit;
|
||||
}
|
||||
} else {
|
||||
if (!$download) {
|
||||
$table->print_html();
|
||||
}
|
||||
}
|
||||
if ($download == 'Excel' or $download == 'ODS') {
|
||||
$workbook->close();
|
||||
exit;
|
||||
} else if ($download == 'CSV') {
|
||||
exit;
|
||||
}
|
||||
if (!$download) {
|
||||
// Print display options
|
||||
$mform->set_data($displayoptions +compact('detailedmarks', 'pagesize'));
|
||||
|
||||
Reference in New Issue
Block a user