Skip to content

Commit

Permalink
Merge branch 'MDL-58047-33-sortbysubmission' of https://github.com/ro…
Browse files Browse the repository at this point in the history
…perto/moodle into MOODLE_33_STABLE
  • Loading branch information
David Monllao committed Nov 2, 2017
2 parents 9446ec2 + 6afd56a commit e60ad85
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.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, ';
Expand Down

0 comments on commit e60ad85

Please sign in to comment.