Actions
Bug #90119
closedSorting by _REF_ in filelist module does not work
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-01-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Actions