$headers[] = get_string('select') .
'<div class="selectall"><label class="accesshide" for="selectall">' . get_string('selectall') . '</label>
<input type="checkbox" id="selectall" name="selectall" title="' . get_string('selectall') . '"/></div>';
-
- // We have to call this column userid so we can use userid as a default sortable column.
- $columns[] = 'userid';
- $headers[] = get_string('edit');
}
// User picture.
$headers[] = get_string('scale', 'assign');
}
}
+ if (!$this->is_downloading()) {
+ // We have to call this column userid so we can use userid as a default sortable column.
+ $columns[] = 'userid';
+ $headers[] = get_string('edit');
+ }
// Submission plugins
if ($assignment->is_any_submission_plugin_enabled()) {