Default to Recursive mirroring prior to #1495. Resolves: https://github.com/jellyfin/Swiftfin/issues/1557 (#1558)

This commit is contained in:
Joe Kribs 2025-06-05 13:04:51 -06:00 committed by GitHub
parent d491417cfc
commit e43efdce04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ extension BaseItemDto: LibraryParent {
}
var isRecursiveCollection: Bool {
if let collectionType, [CollectionType.tvshows, CollectionType.boxsets].contains(collectionType) {
if let collectionType, [.tvshows, .boxsets].contains(collectionType) {
return false
}
return true

View File

@ -62,7 +62,7 @@ final class ItemLibraryViewModel: PagingLibraryViewModel<BaseItemDto> {
parameters.sortBy = [ItemSortBy.name.rawValue]
/// Recursive should only apply to parents/folders and not to baseItems
parameters.isRecursive = (parent as? BaseItemDto)?.isRecursiveCollection ?? false
parameters.isRecursive = (parent as? BaseItemDto)?.isRecursiveCollection ?? true
// Parent
if let parent {