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

List of groupings is not sorted alphabetically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5.5, 2.6.2
    • 2.5.4, 2.6.1, 2.7
    • Groups
    • MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • wip-MDL-43800-master
    • Hide
      1. Create several groupings in a course (preferably with multilang filter or some non-english language where SQL sort is not working good)
      2. Check that groupins are sorted alphabetically on the following pages:
        1. Edit course, select default grouping
        2. Create/edit module (select "visible groups" to activate groupings dropdown)
        3. Edit course section
        4. Groupings tab in Course administration>Groups
        5. Overview tab in Course administration>Groups
      Show
      Create several groupings in a course (preferably with multilang filter or some non-english language where SQL sort is not working good) Check that groupins are sorted alphabetically on the following pages: Edit course, select default grouping Create/edit module (select "visible groups" to activate groupings dropdown) Edit course section Groupings tab in Course administration>Groups Overview tab in Course administration>Groups
    • BACKEND Sprint 9

      Discovered while working on MDL-41285 when my behat tests were failing randomly. Apparently since I named groupings "Grouping 1", "Grouping 2", "Grouping 12" they were displayed in the random order in the dropdown and behat would sometime pick "Grouping 12" instead of "Grouping 1".

      I renamed the groupings in the test but since I've already spent two hours trying to understand the reasons for the random failure, I'm fixing the sort order. It is probably now better than groups sort order because it respects the non-english languages and multilang filter

            marina Marina Glancy
            marina Marina Glancy
            Rossiani Wijaya Rossiani Wijaya
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Michael de Raadt Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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