Skip to content
Snippets Groups Projects
Commit b5b82bbb authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Handle sorting of paginated FileList properly

Since #97443 it's finally possible to sort by
all the metadata fields, available since the
introduction of the column selector in #96959.

The changes in #97443 however lead to the
fact that pagination and sorting did no longer
work together because pagination was still
applied by the driver, while sorting was done
afterwards.

This is now finally resolved. In case sorting
is requested, both the pagination and sorting
is applied manually after fetching files and
folders from the driver in the correct order.

Resolves: #97467
Related: #97443
Related: #96959
Releases: main, 11.5
Change-Id: Ie9363d13541be20ef1b118fa1d627486d6ce929e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74395


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent d6782a1d
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment