Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.1, 2.6.5, 2.7.2, 3.0.6, 3.1.2, 3.2
-
Any
-
MOODLE_21_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-29774-master-by-sam-wilson -
Description
When you are on a /group/members.php?group=xxx page and you have too many users in the "Potential Members" textarea, the textarea will display "too many users (xxx) to search". If you then search for a name such as "smith", results will be populated. The problem is that then clicking on a user's name will not populate the "Selected user's membership:" column. There seems to be two problems w/ this:
1. It seems as if init_add_remove_members_page() is never being called which is causing the textarea's onchange event never to be set.
2. Even if you call the textarea's onchange event (updateUserSummary) from within the console, the "Selected user's membership:" column will not be populated because the userSummaries array is empty