Skip to content

Commit

Permalink
Merge branch 'MDL-58047-34-sortbysubmission' of https://github.com/ro…
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Nov 2, 2017
2 parents be713b7 + b8243e4 commit bb2071c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assign/gradingtable.php
Expand Up @@ -138,7 +138,7 @@ public function __construct(assign $assignment,
$fields .= 's.status as status, '; $fields .= 's.status as status, ';
$fields .= 's.id as submissionid, '; $fields .= 's.id as submissionid, ';
$fields .= 's.timecreated as firstsubmission, '; $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 .= 's.attemptnumber as attemptnumber, ';
$fields .= 'g.id as gradeid, '; $fields .= 'g.id as gradeid, ';
$fields .= 'g.grade as grade, '; $fields .= 'g.grade as grade, ';
Expand Down

0 comments on commit bb2071c

Please sign in to comment.