MDL-48073 enrol: Fixed group filter resetting erroneously.

This commit is contained in:
Nivedita Setru 2015-01-14 10:28:22 +08:00 committed by Dave Cooper
parent da0ef2e4cf
commit b6772ac721
2 changed files with 2 additions and 2 deletions

View file

@ -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;