MDL-70995 user: format group names in course participants filter.
This commit is contained in:
@@ -224,7 +224,7 @@ class participants_filter implements renderable, templatable {
|
||||
array_map(function($group) {
|
||||
return (object) [
|
||||
'value' => $group->id,
|
||||
'title' => $group->name,
|
||||
'title' => format_string($group->name, true, ['context' => $this->context]),
|
||||
];
|
||||
}, array_values($groups))
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user