mirror of
https://github.com/moodle/moodle.git
synced 2025-03-10 10:58:38 +01:00
MDL-35249 - Move Grading popmenu "userid" column after "scale" column (workaround)
This commit is contained in:
parent
7e8ae12a7a
commit
2bda04605e
@ -161,10 +161,6 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
'<div class="selectall"><input type="checkbox" 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.
|
||||
@ -214,6 +210,11 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
$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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user