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

Inconsistent course sorting across the UI

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      IMPORTANT: This needs to be tested on all fixed branches with both Clean and Boost themes.

      Set up

      • As an admin, check that the site setting "Sort my courses (navsortmycoursessort)" has the default value "Sort order".
      • Check that the site setting "Show my course categories (navshowmycoursecategories)" has the default value "No" (you would run into MDL-60994 otherwise).
      • Create multiple courses - at least 4 - with different random names so that the order in which the courses are created does not match the alphabetical order of the names.
      • Set the start date in all courses to the past to make them all be considered as "in progress" courses.
      • Enrol a student into all these courses.

      Test 1

      • Log in as that student.
      • ALL: Check that the order in which the courses are displayed is same on the My courses in the navigation and on the Dashboard / Course overview
      • ONLY MASTER: Check that the order in which the courses are displayed is same also on user's profile course details section, detailed month view list in calendar and course block

      Test 2

      • As an admin, change the courses order at Site administration > Courses > Manage courses and categories
      • ALL: As a student, check that the new order is again consistently displayed in both places.
      • ONLY MASTER: As a student, check that the new order is again consistently displayed in the user's profile course details section, detailed month view list in calendar and course block

      Test 3

      • As an admin, change the site setting "Sort my courses (navsortmycoursessort)" to sort courses by name.
      • ALL: Again as a student, check that the courses are displayed in the new order in both places.
      • ONLY MASTER: Again as a student, check that the courses are displayed in the new order in the user's profile course details section, detailed month view list in calendar and course block
      Show
      IMPORTANT : This needs to be tested on all fixed branches with both Clean and Boost themes. Set up As an admin, check that the site setting "Sort my courses (navsortmycoursessort)" has the default value "Sort order". Check that the site setting "Show my course categories (navshowmycoursecategories)" has the default value "No" (you would run into MDL-60994 otherwise). Create multiple courses - at least 4 - with different random names so that the order in which the courses are created does not match the alphabetical order of the names. Set the start date in all courses to the past to make them all be considered as "in progress" courses. Enrol a student into all these courses. Test 1 Log in as that student. ALL: Check that the order in which the courses are displayed is same on the My courses in the navigation and on the Dashboard / Course overview ONLY MASTER: Check that the order in which the courses are displayed is same also on user's profile course details section, detailed month view list in calendar and course block Test 2 As an admin, change the courses order at Site administration > Courses > Manage courses and categories ALL: As a student, check that the new order is again consistently displayed in both places. ONLY MASTER: As a student, check that the new order is again consistently displayed in the user's profile course details section, detailed month view list in calendar and course block Test 3 As an admin, change the site setting "Sort my courses (navsortmycoursessort)" to sort courses by name. ALL: Again as a student, check that the courses are displayed in the new order in both places. ONLY MASTER: Again as a student, check that the courses are displayed in the new order in the user's profile course details section, detailed month view list in calendar and course block
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-57564-master-courseorder

      Description

      This issue was originally reported as an improvement "Sort Course Overview in Dashboard using site config.", later re-classified as a bug.

      Related to MDL-32975.

      The configuration for navigation "navsortmycoursessort" allows to change the sorting order of 'my courses'.

      It would be nice if the 'Course Overview' followed the same ordering configured there to provide a consistent way to sort courses there, as they can come from different categories.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/Jan/18