#56746File list always fetches all files in folder
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.
Reviews 3
Related issues 6
- Feature #64764FileList and ElementBrowser must implement a paginate system for files
- Task #66327Rename FAL driver count methods
- Feature #66466Tell FAL driver that we will fetch 40 files now
- Bug #73754LocalDriver sorting bug if multiple file with same timestamp
- Bug #75370OutOfBoundsException in LocalDriver.php
- Feature #66464File selection popup does not use FAL driver count*() methods