Issue Feature Rejected

#68738FilesContentObject & FilesProcessor (therefore FileCollector) should have an option to filter files (e.g. by extension)

Andreas Allacher 08/05/15, 08:53 updated 10/16/26, 14:11

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.

History 5

  1. Georg Ringer commented and changed status New Rejected <span data-processor="relativetime" data-value="2026-10-16T14:11:23+00:00" > 10/16/26, 14:11 </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