Default to Recursive mirroring prior to #1495. Resolves: https://github.com/jellyfin/Swiftfin/issues/1557 (#1558)
This commit is contained in:
parent
d491417cfc
commit
e43efdce04
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue