Commit bb2071ca authored by David Monllaó's avatar David Monllaó
Browse files

Merge branch 'MDL-58047-34-sortbysubmission' of https://github.com/roperto/moodle

parents be713b71 b8243e41
......@@ -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, ';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment