Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-43252

Group menu in wrong order when groupings are used

XMLWordPrintable

    • MOODLE_25_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-43252-master
    • Hide

      1. Create 2 groups on a course, Group A and Group B. (The test activity course on qa.moodle.net already has these groups.)
      2. Create a grouping called 'Wrong order grouping'.
      3. Add Group B to the grouping, then add Group A.
      4. Create a new forum, using separate groups and selecting the grouping that was created.
      5. View the forum and look at the group dropdown.

      EXPECTED: The group dropdown should show 'Group A' and then 'Group B' (alphabetical order), just as if you hadn't selected a grouping.
      BEFORE FIX: Before fix for this problem it shows Group B first.

      Show
      1. Create 2 groups on a course, Group A and Group B. (The test activity course on qa.moodle.net already has these groups.) 2. Create a grouping called 'Wrong order grouping'. 3. Add Group B to the grouping, then add Group A. 4. Create a new forum, using separate groups and selecting the grouping that was created. 5. View the forum and look at the group dropdown. EXPECTED: The group dropdown should show 'Group A' and then 'Group B' (alphabetical order), just as if you hadn't selected a grouping. BEFORE FIX: Before fix for this problem it shows Group B first.

      (This is a regression introduced in Moodle 2.5 when the group caching was introduced. The problem still occurs in Moodle 2.6 as tested on qa.moodle.net.)

      If you set an activity to use e.g. separate groups mode, with a grouping selected, then teachers see a dropdown they can use to select a group. However, in this situation, the groups do not appear in alphabetical order.

      Groups do correctly appear in alphabetical order when no grouping is in use.

            quen Sam Marshall
            quen Sam Marshall
            Tim Hunt Tim Hunt
            Sam Hemelryk Sam Hemelryk
            Jérôme Mouneyrac Jérôme Mouneyrac
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.