Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-58047-32-sortbysubmission' of https://github.com/ro…
…perto/moodle into MOODLE_32_STABLE
  • Loading branch information
David Monllao committed Nov 2, 2017
2 parents 1e802bb + f6db012 commit 0e7e457
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 0e7e457

Please sign in to comment.