Issue Bug Closed

#90119Sorting by _REF_ in filelist module does not work

Christian Eßl 01/15/20, 15:07 updated 02/15/20, 21:30

Description

The filelist module offers the table column “REF”, which shows the number of references a file has.

If you try to sort by REF, the files will be sorted by name instead.
This is because \TYPO3\CMS\Core\Resource\Driver\LocalDriver::sortDirectoryEntries() does not support “REF” as sorting parameter and will automatically fall back to the file name.

In \TYPO3\CMS\Filelist\FileList::makeRef() there is already an implementation for finding all file references for a file. (which could be used in the driver as well)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.