mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 15:10:05 +01:00
Merge branch 'MDL-48073-master' of git://github.com/gurgus/moodle
This commit is contained in:
commit
ba8e7b3e2f
@ -886,7 +886,7 @@ class course_enrolment_manager {
|
||||
$args['search'] = $this->searchfilter;
|
||||
}
|
||||
if (!empty($this->groupfilter)) {
|
||||
$args['group'] = $this->groupfilter;
|
||||
$args['filtergroup'] = $this->groupfilter;
|
||||
}
|
||||
if ($this->statusfilter !== -1) {
|
||||
$args['status'] = $this->statusfilter;
|
||||
|
@ -219,7 +219,7 @@ if (!has_capability('moodle/course:viewhiddenuserfields', $context)) {
|
||||
|
||||
$filterform = new enrol_users_filter_form('users.php', array('manager' => $manager, 'id' => $id),
|
||||
'get', '', array('id' => 'filterform'));
|
||||
$filterform->set_data(array('search' => $search, 'ifilter' => $filter, 'role' => $role));
|
||||
$filterform->set_data(array('search' => $search, 'ifilter' => $filter, 'role' => $role, 'filtergroup' => $fgroup));
|
||||
|
||||
$table->set_fields($fields, $renderer);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user