#68738FilesContentObject & FilesProcessor (therefore FileCollector) should have an option to filter files (e.g. by extension)
Description
It would be good to have the possibility to filter files in the FilesContentObject and FilesProcessor.
e.g. if I include all files from a folder but am only interested in .pdf files in it or only images, it would be nice to filter by extension.
Of course, in such cases one would assume only correct files are placed inside the folder but just because that is usually the case, doesn’t mean it always is.
This has to be done before rendering because otherwise e.g. count values could be wrong.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 5
-
Riccardo De Contardi changed category <span data-processor="relativetime" data-value="2016-11-13T16:27:13+00:00" > 11/13/16, 16:27 </span>
-
Benni Mack changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2023-08-02T13:17:10+00:00" > 08/02/23, 13:17 </span>
-
Georg Ringer changed Sprint Focus
On Location Sprint<span data-processor="relativetime" data-value="2026-08-06T15:45:46+00:00" > 08/06/26, 15:45 </span> -
Georg Ringer commented and changed status
NewRejected <span data-processor="relativetime" data-value="2026-10-16T14:11:23+00:00" > 10/16/26, 14:11 </span> -
Benni Mack changed Related to #65405 <span data-processor="relativetime" data-value="2026-11-13T11:28:57+00:00" > 11/13/26, 11:28 </span>
hey!
after checking the issue again I am closing it as a filter is a complex thing and “just” adding a filter for the extension is suitable for you (back in those times) but others might need a filter for mime, size, path, …
therefore I am rejecting the issue and users must implement that themselves. For smaller file count it might be sufficient to sort after the collection, for big collections it might be useful to sort before using the database