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

When sorting by a column in grader then refreshing the page, it keeps inverting the sort order.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.3, 3.2, 3.3, 3.5
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      Hide
      1. Visit a course that contains a few enrolled students.
      2. Click on 'Gradebook setup' under 'Course administration'.
      3. Click to view the 'Grader report'.
      4. Confirm that you can change the order via the column headers.
      5. Confirm you can keep switching back and forth between the order.
      6. Make note of the order of the columns and refresh the page.
      7. Confirm the order did not change.
      Show
      Visit a course that contains a few enrolled students. Click on 'Gradebook setup' under 'Course administration'. Click to view the 'Grader report'. Confirm that you can change the order via the column headers. Confirm you can keep switching back and forth between the order. Make note of the order of the columns and refresh the page. Confirm the order did not change.
    • Workaround:
      Hide

      n/a

      Show
      n/a
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-57365_master

      Description

      Given you are in a grade report (grader)
      When you sort by a column
      And manually refresh the page one or more times
      Then the sorting order inverts at every refresh.

      This happens because the sort parameter in the query string forces a toggle between sort mode (ascending and descending).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: