Moodle

Enhanced sorting of files

Details

  • Affected Branches:
    MOODLE_19_STABLE, MOODLE_21_STABLE

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
    18/Sep/08 7:38 PM
    7 kB
    Steve Bond
  2. index.php.patch
    01/May/08 7:19 PM
    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.

People

Vote (14)
Watch (5)

Dates

  • Created:
    Updated: