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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8.3, 3.9.3, 3.10, 3.11, 4.0
    • Fix Version/s: 3.9.4, 3.10.1
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_310_STABLE, MOODLE_39_STABLE
    • Pull 3.9 Branch:
    • Pull 3.10 Branch:
      MDL-69201-310
    • Pull Master Branch:

      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

              Assignee:
              pholden Paul Holden
              Reporter:
              jpataleta Jun Pataleta
              Peer reviewer:
              Simey Lameze
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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