diff options
| author | theguymadmax <theguymadmax@proton.me> | 2026-08-19 18:12:10 -0400 |
|---|---|---|
| committer | theguymadmax <theguymadmax@proton.me> | 2026-08-19 18:34:21 -0400 |
| commit | 80fe8c67e97a8b239bd733eb295222ca52c5126d (patch) | |
| tree | f7c4333d75f27c355b846fb030be463f66ec3679 /Emby.Server.Implementations/Library | |
| parent | 19d919f8be44f9f863d5839ac411216b0f1dee4e (diff) | |
Fix latest items for mixed libraries
Diffstat (limited to 'Emby.Server.Implementations/Library')
| -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); |
