Project

General

Profile

Actions

Bug #90119

closed

Sorting by _REF_ in filelist module does not work

Added by Christian Eßl almost 5 years ago. Updated almost 5 years ago.

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 #1

Updated by Christian Eßl almost 5 years ago

The feature for sorting by references (which never worked) was removed with #90242.
I think this issue can be closed.

Actions #2

Updated by Björn Jacob almost 5 years ago

  • Status changed from New to Closed

Your wish is my command :)

Actions

Also available in: Atom PDF