mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-58047 gradebook: fix sort by submission order.
This commit is contained in:
parent
40f1801c4b
commit
b8243e4164
@ -138,7 +138,7 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
$fields .= 's.status as status, ';
|
||||
$fields .= 's.id as submissionid, ';
|
||||
$fields .= 's.timecreated as firstsubmission, ';
|
||||
$fields .= 's.timemodified as timesubmitted, ';
|
||||
$fields .= "CASE WHEN status='submitted' THEN s.timemodified ELSE NULL END as timesubmitted, ";
|
||||
$fields .= 's.attemptnumber as attemptnumber, ';
|
||||
$fields .= 'g.id as gradeid, ';
|
||||
$fields .= 'g.grade as grade, ';
|
||||
|
Loading…
x
Reference in New Issue
Block a user