Actions
Bug #56746
closedFile list always fetches all files in folder
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-03-11
Due date:
% Done:
50%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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.
Actions