-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.5.4, 5.0
-
1
-
WP Sprint 2025-I2.2 (Espresso)
This is rather inefficient: https://github.com/moodle/moodle/blob/bf164840d9236c36057334d99482d50784f11b26/reportbuilder/classes/local/entities/user.php#L90-L99 because it's requesting all filters from both itself and the user profile fields helper multiple times
Use the fluid interface pattern we use in all other entities: https://github.com/moodle/moodle/blob/bf164840d9236c36057334d99482d50784f11b26/reportbuilder/classes/local/entities/course.php#L97-L104 to ensure we only generate all filter instances once within the user entity
This improves performance, so adding to MDL-84719 epic