Details
-
Type:
Bug
-
Status: Development in progress
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.6.5, 2.7
-
Fix Version/s: FRONTEND
-
Component/s: Assignment
-
Affected Branches:MOODLE_26_STABLE, MOODLE_27_STABLE
Description
When viewing submissions for an assignment where 'Students submit in groups' is set to 'No' the 'Last modified (submission)' field is showing the same timestamp when users belong to a group.
Possible fix: in mod/assign/gradingtable.php modifying the function col_timesubmitted to have a clause for teamsubmissions appears to resolve the problem:
public function col_timesubmitted(stdClass $row) { |
$o = '-'; |
|
$group = false; |
$submission = false; |
if ($this->assignment->get_instance()->teamsubmission) { |
$this->get_group_and_submission($row->id, $group, $submission, -1); |
}
|
if ($group && $submission && $submission->timemodified) { |
$o = userdate($submission->timemodified); |
} else if ($row->timesubmitted) { |
$o = userdate($row->timesubmitted); |
}
|
|
return $o; |
}
|
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-38128 Summary grading information for assignments with groups is not correct
-
- Closed
-