MDL-57592 assignment: Adds filtering of assignment name in grader view

This commit is contained in:
wehr
2017-01-30 18:25:17 +01:00
parent 6a4a1d812c
commit 120798e85f
+1 -1
View File
@@ -88,7 +88,7 @@ class grading_app implements templatable, renderable {
$export->cmid = $this->assignment->get_course_module()->id;
$export->contextid = $this->assignment->get_context()->id;
$export->groupid = $this->groupid;
$export->name = $this->assignment->get_instance()->name;
$export->name = $this->assignment->get_context()->get_context_name();
$export->courseid = $this->assignment->get_course()->id;
$export->participants = array();
$num = 1;