Project

General

Profile

Actions

Feature #15228

closed

Sorting in filelists

Added by Marco Geweke over 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-11-22
Due date:
% Done:

0%

Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:

Description

If you choose the option "date" as sorting criteria in filelists, TYPO3 chooses the creation date of the files as sorting criteria. There is no possibility to take the file modification date into account.
I added the option "mdate" to sort after the file modification date.

Here an excerpt from TSref regarding the stdWrap property filelist. I refer to item 3 in this issue:

Reads a directory and returns a list of files.
The value is exploded by "|" into parameters:
1: The path
2: comma-list of allowed extensions (no spaces between); if empty all extensions goes.
3: sorting: name, size, ext, date
4: reverse: Set to "r" if you want a reversed sorting
5: fullpath_flag: If set, the filelist is returned with complete paths, and not just the filename
(issue imported from #M1910)


Files

class.tslib_content.php.diff (604 Bytes) class.tslib_content.php.diff Administrator Admin, 2005-11-22 16:34
Actions #1

Updated by Sebastian Kurfuerst over 18 years ago

in core list.

Actions #2

Updated by Sebastian Kurfuerst over 18 years ago

fixed in CVS.

Actions

Also available in: Atom PDF