Do not set topParentId if OwnerIds are empty

This commit is contained in:
Shadowghost
2026-06-03 19:47:35 +02:00
parent 47f2b3b6d0
commit 1b80da0c3d

View File

@@ -1987,7 +1987,8 @@ namespace Emby.Server.Implementations.Library
query.TopParentIds.Length == 0 &&
string.IsNullOrEmpty(query.AncestorWithPresentationUniqueKey) &&
string.IsNullOrEmpty(query.SeriesPresentationUniqueKey) &&
query.ItemIds.Length == 0)
query.ItemIds.Length == 0 &&
query.OwnerIds.Length == 0)
{
var userViews = UserViewManager.GetUserViews(new UserViewQuery
{