Bug #56746
closedFile list always fetches all files in folder
50%
Description
When using the filelist module to list files in a folder of a FAL storage, FileList.php
always requests all files at once, even though only 40 are displayed at the same time.
This is problematic if there is a huge number of files in that folder that need to be fetched remotely via an API.
It would be better if at first a call would be made to fetch the number of files in that folder (to make pagination calculation work), and then only request needed files by setting $start
and $numberOfItems
arguments in getFilesInFolder()
correctly.
Happens with TYPO3 6.2beta6.
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28560
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28560
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/28560
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/28560
Updated by Gerrit Code Review over 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/28560
Updated by Gerrit Code Review over 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/28560
Updated by Gerrit Code Review over 9 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/28560
Updated by Christian Weiske over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d32e20d192bcc04b945f778cfa8b66f9aaf85f42.
Updated by José Ricardo almost 8 years ago
Is this solution also applied for TYPO3 7.6? I'm getting the same issue there. (TYPO3 7.6.11)
Updated by André Richter almost 7 years ago
- Priority changed from Should have to Must have
The solution isn't applied for the search-function (v8.7).
When searching for a file in dam the new parameters ($sort,...) are not used when calling the function getFoldersInFolder.
searchByName (core/Classes/Resource/FileRepository.php)
Updated by Benni Mack over 4 years ago
- Related to Feature #66466: Tell FAL driver that we will fetch 40 files now added