diff options
Diffstat (limited to 'Jellyfin.Server.Implementations/Item/BaseItemRepository.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs index a3e617a21..d5a1be679 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs @@ -1259,7 +1259,8 @@ public sealed class BaseItemRepository(IDbContextFactory<JellyfinDbContext> dbPr { Item = entity, AncestorIdText = ancestorId.ToString(), - Id = ancestorId + Id = ancestorId, + ItemId = entity.Id }); } } @@ -1273,7 +1274,8 @@ public sealed class BaseItemRepository(IDbContextFactory<JellyfinDbContext> dbPr Item = entity, Type = itemValue.MagicNumber, Value = itemValue.Value, - CleanValue = GetCleanValue(itemValue.Value) + CleanValue = GetCleanValue(itemValue.Value), + ItemId = entity.Id }); } } |
