-
-
Notifications
You must be signed in to change notification settings - Fork 180
Closed as not planned
Labels
Description
Field type of Image.
Trying to get image From Library - can't view files grouped by directories. I see only one group named files
Details
| Question | Answer |
|---|---|
| Relevant Bolt Version | 5.1.10 |
| Install type | Composer install |
Take a look to response of async/list_files?location=files&type=images on Bolt 5.0.6 for ex.
we can see the 'root group' and the 'business group' (corresponding business directory)
and the same response on Bolt 5.1.10
the 'files group' in all entries
As I see, the reason is in vendor\bolt\core\src\Utils\FilesIndex.php where we set group for each file
'group' => basename($basePath)
I Can't understand yet why we pass the same value ($basePath) for all files entries...
jodou92

