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:
Syxton
2014-08-27 15:14:08 -04:00
parent b01092111c
commit 8121a2fad0
+3
View File
@@ -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