MDL-45212 scorm: Disable sorting on unsortable columns in SCORM reports
This commit is contained in:
@@ -167,6 +167,9 @@ class scorm_basic_report extends scorm_default_report {
|
||||
$table->no_sorting('start');
|
||||
$table->no_sorting('finish');
|
||||
$table->no_sorting('score');
|
||||
$table->no_sorting('checkbox');
|
||||
$table->no_sorting('picture');
|
||||
|
||||
if ( $scoes ) {
|
||||
foreach ($scoes as $sco) {
|
||||
if ($sco->launch!='') {
|
||||
|
||||
@@ -222,6 +222,8 @@ class scorm_interactions_report extends scorm_default_report {
|
||||
$table->no_sorting('start');
|
||||
$table->no_sorting('finish');
|
||||
$table->no_sorting('score');
|
||||
$table->no_sorting('checkbox');
|
||||
$table->no_sorting('picture');
|
||||
|
||||
for($id = 0; $id < $questioncount; $id++) {
|
||||
if ($displayoptions['qtext']) {
|
||||
|
||||
@@ -237,6 +237,8 @@ class scorm_objectives_report extends scorm_default_report {
|
||||
$table->no_sorting('start');
|
||||
$table->no_sorting('finish');
|
||||
$table->no_sorting('score');
|
||||
$table->no_sorting('checkbox');
|
||||
$table->no_sorting('picture');
|
||||
|
||||
foreach ($scoes as $sco) {
|
||||
if ($sco->launch != '') {
|
||||
|
||||
Reference in New Issue
Block a user