mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-30652 Scorm adding proper comments
This commit is contained in:
parent
929c26ccf1
commit
bea916ae7c
2 changed files with 2 additions and 4 deletions
|
@ -155,11 +155,9 @@ class scorm_basic_report extends scorm_default_report {
|
||||||
$table->sortable(true);
|
$table->sortable(true);
|
||||||
$table->collapsible(true);
|
$table->collapsible(true);
|
||||||
|
|
||||||
|
// This is done to prevent redundant data, when a user has multiple attempts
|
||||||
$table->column_suppress('picture');
|
$table->column_suppress('picture');
|
||||||
$table->column_suppress('fullname');
|
$table->column_suppress('fullname');
|
||||||
// I wonder why it is doing all this suppress malarkey?
|
|
||||||
// However, if it was suppressing idnumber field before, I guess
|
|
||||||
// it needs to suppress all the user identity fields now
|
|
||||||
foreach ($extrafields as $field) {
|
foreach ($extrafields as $field) {
|
||||||
$table->column_suppress($field);
|
$table->column_suppress($field);
|
||||||
}
|
}
|
||||||
|
|
|
@ -211,9 +211,9 @@ class scorm_interactions_report extends scorm_default_report {
|
||||||
$table->sortable(true);
|
$table->sortable(true);
|
||||||
$table->collapsible(true);
|
$table->collapsible(true);
|
||||||
|
|
||||||
|
// This is done to prevent redundant data, when a user has multiple attempts
|
||||||
$table->column_suppress('picture');
|
$table->column_suppress('picture');
|
||||||
$table->column_suppress('fullname');
|
$table->column_suppress('fullname');
|
||||||
// This is done to prevent redundant data, when a user has multiple attempts
|
|
||||||
foreach ($extrafields as $field) {
|
foreach ($extrafields as $field) {
|
||||||
$table->column_suppress($field);
|
$table->column_suppress($field);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue