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

Sorting does not work anymore in non-dynamic tables

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      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. On the assignment grading table, sort the users by column.
      6. Confirm that the users are being sorted correctly according to the selected column and sort order.
      Show
      Create an assignment that accepts online text and has " Require students to click the submit button " set to Yes. Log in using a few student accounts and create an assignment submission. Have some submissions remain in draft. Log in as a teacher. View all submissions. On the assignment grading table, sort the users by column. Confirm that the users are being sorted correctly according to the selected column and sort order.
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull 3.9 Branch:
    • Pull Master Branch:
      MDL-69110-master
    • Story Points:
      2
    • Sprint:
      International 4.0 - Sprint 1

      Description

      The classical method of sorting the various quiz attempts by clicking on the column link does not work well anymore. The first time you click on the link, attempts are sorted in descending order by the column selected, but subsequent clicks always do the same.

      The expected behaviour is to invert the sort order with each click.

      Also, the little black arrows indicating the present sort order are not shown anymore.

      To reproduce:

      Try to view the attempt list of some quiz with attempts. The page is <base URL>mod/quiz/report.php?id=1569&mode=overview  (the quiz ID will be different in your case, obviously)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jpataleta Jun Pataleta
              Reporter:
              orestes Orestes Mas
              Peer reviewer:
              Luca Bösch
              Integrator:
              Andrew Nicols
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jul/20

                  Time Tracking

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