MDL-45952 feedback: non-respondents in groupings
Fixes feedback non-respondents list to show only members in groups in the selected grouping if "Available for group members only" is selected.
This commit is contained in:
@@ -893,6 +893,9 @@ function feedback_get_incomplete_users($cm,
|
||||
true)) {
|
||||
return false;
|
||||
}
|
||||
// Filter users that are not in the correct group/grouping.
|
||||
$allusers = groups_filter_users_by_course_module_visible($cm, $allusers);
|
||||
|
||||
$allusers = array_keys($allusers);
|
||||
|
||||
//now get all completeds
|
||||
|
||||
Reference in New Issue
Block a user