Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.5
-
Fix Version/s: None
-
Component/s: Add a project here
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
Patch widens the scope of user filtering based on User Management Improvements [1], which until now was used only in admin panel, to users list in course participants view and groups members, role assignment and forum subscribers management.
Assumption was to reuse existing code to be compact and transparent. Here could be a disadvantage of low efficiency in large sites when filtering on custom users profile fileds because user_filtering class use subqueries in such cases without AFAIK any additional caching. For my site with ~1500 users it is OK but in larger one maybe it should be some how optimized
.
To install on moodle >= 1.9.5 try "quick shot" patching (after backup of course) with command executed in moodle directory:
zcat patch.gz | patch -p1
In case of any errors, warnings etc. reverse the patch or restore the code from backup ant apply patch manually by hand.
[1] http://docs.moodle.org/en/Student_projects/User_Management_Improvements#Reusable_user_filter