srobotta / moodle-report_ldapaccounts

GNU General Public License v3.0
0 stars 1 forks source link

Filter for user-defined fields #7

Open stdoma opened 3 months ago

stdoma commented 3 months ago

Hello! With the plugin I can identify individual profiles more quickly. This makes admin work a lot more convenient.

Will the filter options be expanded further? I would really benefit from the option of filtering by user-defined fields. However, I assume that filtering like the normal user overview would help the masses more.

srobotta commented 3 months ago

Thank you for your suggestion. As for the custom fields, this would probably make sense to expand the search options for users. I will think about this feature request and how this might be solved.

As for the filtering options: what exact would you expect? Which other options are for you useful when searching for users?

In a course you can click at a letter to search for first or last name. This is possible by typing the letter in the input field (actually you can type more than one letter and thus run a search for names starting with these letters.

Some filters in the course participants search are: filter by role, filter by group do not make sense here because these are limited to a course only.

Do you expect a GUI similar to the cours participans search?

stdoma commented 3 months ago

Hello! I don't find the search for system roles useful in this context either. I agree with the idea. I think filtering via the letter bars is just as good.

The user search (admin/user.php) from Moodle 3.11 was very flexible in this context in terms of configuration. I would use this as a reference for a possible implementation. You could actually include all fields in the search and &-link them as desired.

The multiple linking of the same field could certainly be discarded. It shouldn't happen that often that you search for two different elements in one field that are both fulfilled.