[4.x]: Asset index: Apply filters to files in all subfolders
What happened?
Description
When searching for assets, there is a Search in subfolders checkbox that lets you find files in all subfolders.
However, we could not figure out how to do the same for filters in a simple way.
E.g. add a filter 'width > 2000' and press Apply, the filter results will only show files in the current folder.
A workaround for now is to additionally search for * and check the Search in subfolders checkbox.
Steps to reproduce
- Add and apply a filter.
- Miss files in subfolders.
Expected behavior
Something like a checkbox Apply to subfolders
Actual behavior
Could only figure out a workaround, that most editors will not find.
/Klara
Craft CMS version
4.4.1
PHP version
8.1.13
Operating system and version
Linux 5.15.90.1-microsoft-standard-WSL2
Database type and version
MySQL 10.4.27
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
Also - when filtering it would be nice to just remove all folders and show a flat list of files.