Details

    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_21_STABLE
    • Rank:
      614

      Description

      Our users have requested ability to sort files by last-modified date, to more easily see what has been uploaded recently. This is particularly useful where more than one person has editor responsibility for a course.

      The attached patch allows sorting, in either direction, on each of the name, size and date columns on the Files page.

      Filename sorting is case-insensitive.

      1. index.php.patch
        7 kB
        Steve Bond
      2. index.php.patch
        7 kB
        Steve Bond

        Issue Links

          Activity

          Hide
          Eloy Lafuente (stronk7) added a comment -

          Assigning to Petr... FYC!

          Show
          Eloy Lafuente (stronk7) added a comment - Assigning to Petr... FYC!
          Hide
          Steve Bond added a comment -

          There's a bug in my original patch. When the Files screen is accessed via the "Choose or upload a file" button, the "Choose" links disappear when you click on a column heading to re-sort the files.

          The second version of the patch, attached, fixes this.

          Show
          Steve Bond added a comment - There's a bug in my original patch. When the Files screen is accessed via the "Choose or upload a file" button, the "Choose" links disappear when you click on a column heading to re-sort the files. The second version of the patch, attached, fixes this.
          Hide
          Michael de Raadt added a comment -

          This functionality is also desired in 2.x.

          Show
          Michael de Raadt added a comment - This functionality is also desired in 2.x.
          Hide
          Marina Glancy added a comment -

          This was fixed under MDL-31901 as a table view mode.
          Backporting to 2.2 would be very difficult

          Show
          Marina Glancy added a comment - This was fixed under MDL-31901 as a table view mode. Backporting to 2.2 would be very difficult

            People

            • Votes:
              24 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: