Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.2, 2.0
-
Fix Version/s: None
-
Component/s: Administration, Enrolments, Roles / Access, Usability
-
Labels:None
-
Environment:php 5, mysql 5 , apache 2, moodle 1.9.2 (latest/new patch for version 2.0)
-
Database:MySQL
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE, MOODLE_20_STABLE
Description
this patch enable teachers and admins to narrow down the list of users in the assign role dialog
by adding the institution or the department (class in the case of k12 schools) in the search box.
this patch can be applied to the original moodle/admin/role/assign.php :
http://cvs.moodle.org/moodle/admin/roles/assign.php?revision=1.63.2.12&view=markup
the attached compressed file includes the original file, the diff file and the file assign.php
that we currently use on our system.
i plan to further improve this patch by adding the ability to filter the list by the "extra user's fields"
that the system enables to add on top of the fixed one that comes as default.
i think a discussion of a better (ajax) filtering interface should be considered about this issue ![]()
Attachments
Issue Links
| This issue is duplicated by: | ||||
| CONTRIB-2387 | user filtering in participants, group members, role assignment and forum subscribers |
|
|
|
Nadav - Thanks for sharing the patch which is a good start. I think it might even by more useful if we could make it use the user filtering code. I am attaching a screenshot and a diff file (which does not work - see the TODO) but gives an idea of what I am thinking. Feel free to play around with it. I think it would greatly increase the flexibility of what you can do with filtering the users. I will also tag this as a usability issue since we need to be consistent with user lists. Having the ability to use filters makes sense here IMO. Peace - Anthony