-
Bug
-
Resolution: Fixed
-
Minor
-
4.4.1
We have implemented some functionality on top of the "Browse list of users" report in Workplace where our actions use modals instead of changing pages. By default when a bulk action is used the dropdown selector remains with the same option set. This should be fixed and be reset to the "Choose" option instead.
Example
There are two avenues we can take in approaches to fix this:
- Have every bulk user action implemented as JS reset the selected value themselves (easy to forget, and not really the responsibility of these modules); or
- Fix it in the same core JS module that is also responsible for enabling/disabling the bulk user selector element (at the point the element is disabled)
https://github.com/paulholden/moodle-tool_bulkactiondemo can be used to test this (there aren't currently any JS bulk actions implemented in Moodle itself, but we have lots in Workplace - e.g. the above screencast)
- has a non-specific relationship to
-
MDL-80566 Convert callback 'bulk_user_actions' to hook
- Closed