diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-07-17 13:53:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-17 13:53:58 +0200 |
| commit | f2dea2a3fde4ed6a6e5360ae590f1328325d7efc (patch) | |
| tree | faee24e237c4ac72c6a0a53cc8162c3b3414d0cd | |
| parent | 4d1dd42420ccc5abad88d852d8599aeafdd54ded (diff) | |
| parent | fa4626c08093f34b64e028bb21becb3050ac4a3b (diff) | |
Merge pull request #17348 from theguymadmax/revert-includeItemTypes-in-collectionType
| -rw-r--r-- | Jellyfin.Api/Controllers/ItemsController.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/ItemsController.cs b/Jellyfin.Api/Controllers/ItemsController.cs index f6a927a9ed..385795e9f7 100644 --- a/Jellyfin.Api/Controllers/ItemsController.cs +++ b/Jellyfin.Api/Controllers/ItemsController.cs @@ -316,7 +316,6 @@ public class ItemsController : BaseJellyfinApiController if (folder is IHasCollectionType hasCollectionType) { collectionType = hasCollectionType.CollectionType; - includeItemTypes = [.. includeItemTypes.Union(DtoExtensions.GetBaseItemKindsForCollectionType(collectionType))]; } if (collectionType == CollectionType.playlists) @@ -329,7 +328,6 @@ public class ItemsController : BaseJellyfinApiController includeItemTypes = collectionType switch { CollectionType.boxsets => [BaseItemKind.BoxSet], - null => [BaseItemKind.Movie, BaseItemKind.Series], _ => [] }; } |
