MDL-47425 mod_assign: Allow sorting by state without submissions.
Special thanks to Antton Rodriguez for the suggested patch.
This commit is contained in:
@@ -270,7 +270,7 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
$columns[] = 'status';
|
||||
$headers[] = get_string('status', 'assign');
|
||||
} else if ($this->assignment->get_instance()->markingworkflow) {
|
||||
$columns[] = 'workflowstatus';
|
||||
$columns[] = 'workflowstate';
|
||||
$headers[] = get_string('status', 'assign');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user