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

Table SQL's primary sort order icon does not render right away

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.8.3, 3.9.3, 3.10, 3.11, 4.0
    • 3.9.4, 3.10.1
    • Libraries
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • Hide
      1. Login as admin
      2. Create two new users
      3. Create a new course
      4. Enrol both new users as students in the new course
      5. Go to the course homepage
      6. Add an assignment activity
      7. Press View all submissions
      8. Press the Surname link in the table header to order by surname
      9. Confirm "Ascending" sort icon is shown after Surname link
      10. Press the Surname link again
      11. Confirm "Descending" sort icon is now shown
      12. Confirm sorting by other columns shows "Ascending" / "Descending" sort icon appropriately
      Show
      Login as admin Create two new users Create a new course Enrol both new users as students in the new course Go to the course homepage Add an assignment activity Press View all submissions Press the Surname link in the table header to order by surname Confirm "Ascending" sort icon is shown after Surname link Press the Surname link again Confirm "Descending" sort icon is now shown Confirm sorting by other columns shows "Ascending" / "Descending" sort icon appropriately

    Description

      1. Create an assignment that accepts online text and has "Require students to click the submit button" set to Yes.
      2. Log in using a few student accounts and create an assignment submission. Have some submissions remain in draft.
      3. Log in as a teacher.
      4. View all submissions.
      5. Make sure to "Reset table preferences" just in case.
      6. On the assignment grading table, sort the users by Surname.
      7. Expected
        • The users will be sorted by Surname in descending order.
        • The icon indicating descending sort order should appear beside the Surname.
      8. Actual
        • The icon indicating descending sort order does not appear right away beside the Surname. You have to click it again so the primary sort indicator would show up.

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              jpataleta Jun Pataleta
              Simey Lameze Simey Lameze
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Anna Carissa Sadia Anna Carissa Sadia
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Jan/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 57 minutes
                  2h 57m