-
Bug
-
Resolution: Fixed
-
Minor
-
2.9.1, 3.0.6
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
master_
MDL-51401 -
Case 1:
Steps to reproduce:
- Login as teacher
- Go to any course
- Go to course administration -> Users -> Enrolled users (/enrol/users.php?id=<COURSE-ID>)
- Click on the plus-sign in the roles column of the users' table
Expected result:
- The roles in the popup should be sorted in the order which was defined on /admin/roles/manage.php
Actual result:
- The roles in the popup have some other order
-------------------
Case 2:
Steps to reproduce:
- Login as teacher
- Go to any course
- Go to course administration -> Users -> Enrolled users (/enrol/users.php?id=<COURSE-ID>)
- Click on the "Enrol users" button
Expected result:
- The roles in the dropdown widget in the popup should be sorted in the order which was defined on /admin/roles/manage.php
Actual result:
- The roles in the popup have some other order
-------------------
Note:
- On the "old" enrol interface (/enrol/manual/manage.php?enrolid=14440&id=<COURSE-ID>), the roles in the "Assign role" dropdown are sorted like it is expected.