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

Improper sorting order of the items in the selector in single view report

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-77546-401
    • MDL-77546-master
    • Hide

      Prerequisites

      1. Create a course.
      2. Enrol a student in the course
      3. Create few gradable activities in the course (e.g. Assignment, Quiz).
      4. Go to the Gradebook setup page in the course (Grades > Gradebook setup)
      5. Create a grade category and move one of the grade items under that category.

      Test

      1. Go to the Single view report and select to view Users
      2. Select a user and note the sorting order of the grade items in the report table.
      3. Switch the view to Grade items.
      4. Open the grade item selector ('Select a grade item)
        • confirm that the order of the items in the selector is consistent with the one in the User view.
      Show
      Prerequisites Create a course. Enrol a student in the course Create few gradable activities in the course (e.g. Assignment, Quiz). Go to the Gradebook setup page in the course (Grades > Gradebook setup) Create a grade category and move one of the grade items under that category. Test Go to the Single view report and select to view Users Select a user and note the sorting order of the grade items in the report table. Switch the view to Grade items. Open the grade item selector ('Select a grade item) confirm that the order of the items in the selector is consistent with the one in the User view.
    • 2
    • Team Alpha - Planning sprint, Team Alpha - Sprint 1 I2-2023

      Currently, the items shown in the grade item selector in the Single view report (Grade items view) are sorted by their db ID's (asc). This sorting order is not consistent with other instances where we display the grading items in a course such as the gradebook report tables (User report, Grader report, Single view - user view). The aim of this issue is to improve the UX and make the sorting order of grade items consistent throughout gradebook.

      Replication steps:

      1. Create a course.
      2. Enrol a student in the course
      3. Create few gradable activities in the course (e.g. Assignment, Quiz).
      4. Go to the Gradebook setup page in the course (Grades > Gradebook setup)
      5. Create a grade category and move one of the grade items under that category.
      6. Go to the Single view report and select to view Users
      7. Select a user and note the sorting order of the grade items in the report table.
      8. Now switch the view to Grade items.
      9. Open the grade item selector ('Select a grade item)
        • The order of the items in the selector is not consistent with the one in the User view.

            Geshoski Mihail Geshoski
            Geshoski Mihail Geshoski
            Mathew May Mathew May
            Ilya Tregubov Ilya Tregubov
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 55 minutes Time Not Required
                2h 55m

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