Open davist11 opened 8 years ago
I did this in a hacky way and added
foreach ($folderIds as $folderId) {
$folder = craft()->assets->getFolderById($folderId);
$subFolders = $folder->children;
foreach ($subFolders as $subFolder) {
$folderIds[] = $subFolder->id;
}
}
To the case ImportModel::FieldTypeAssets:
in ImportService.php
. Probably a much better way to do this since it only searches immediate children subfolders, but it's at least enough for me now.
Will look into this.
+1 from me for this feature, would be incredibly useful.
Same here.
It would be awesome if it would include subfolders when searching for an asset.