diff options
| author | Cody Robibero <cody@robibe.ro> | 2026-08-22 08:42:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-22 08:42:38 -0400 |
| commit | 4477f41857dc111b30ccf51d625b0459d60853e1 (patch) | |
| tree | acd6309258269509d151a226ac13f0ebc42de804 /Emby.Server.Implementations | |
| parent | 9fa0533506d299537b2295183115b8c1f15b2fa0 (diff) | |
| parent | 80fe8c67e97a8b239bd733eb295222ca52c5126d (diff) | |
Merge pull request #17678 from theguymadmax/fix-mixed-latest-items
Fix latest items for mixed libraries
Diffstat (limited to 'Emby.Server.Implementations')
| -rw-r--r-- | Emby.Server.Implementations/Library/UserViewManager.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Library/UserViewManager.cs b/Emby.Server.Implementations/Library/UserViewManager.cs index 9512b0ffd7..49d76e195d 100644 --- a/Emby.Server.Implementations/Library/UserViewManager.cs +++ b/Emby.Server.Implementations/Library/UserViewManager.cs @@ -396,6 +396,12 @@ namespace Emby.Server.Implementations.Library query.Limit = limit; return _libraryManager.GetLatestItemList(query, parents, CollectionType.movies); } + + if (collectionType is null) + { + query.Limit = limit; + return _libraryManager.GetLatestItemList(query, parents, CollectionType.unknown); + } } return _libraryManager.GetItemList(query, parents); |
