-
Bug
-
Resolution: Deferred
-
Minor
-
None
-
3.9.16, 3.11.9, 4.0.3
-
MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
MDL-75536-master -
The \core_user\output\participants_filter::get_filtertypes gets the data for all the filter types. The options for the inactive filter are set in the \core_user\output\participants_filter::get_accesssince_filter method. There is a conditional to decide if we are on a course or the front page:
user/classes/output/participants_filter.php |
257 if (!$this->course->id == SITEID) |
This always returns false because the "!" operator is applied to $this->course->id. I guess the intention was:
user/classes/output/participants_filter.php |
257 if (!($this->course->id == SITEID)) |
- will be (partly) resolved by
-
MDL-79681 Participants filter for last access to course doesn't work correctly
-
- Closed
-
- will help resolve
-
MDLSITE-6766 Reduce load time when querying users table
-
- Development in progress
-