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

List of groupings is not sorted alphabetically

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.4, 2.6.1, 2.7
    • 2.5.5, 2.6.2
    • 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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              marina Marina Glancy
              Rossiani Wijaya Rossiani Wijaya
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Michael de Raadt Michael de Raadt
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Mar/14