mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-15 04:00:25 +01:00
Apply ParentId.Value suggestion
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
@@ -586,7 +586,7 @@ public sealed partial class BaseItemRepository
|
||||
|
||||
if (filter.AlbumIds.Length > 0)
|
||||
{
|
||||
baseQuery = baseQuery.Where(e => filter.AlbumIds.Contains((Guid)e.ParentId!));
|
||||
baseQuery = baseQuery.Where(e => e.ParentId.HasValue && filter.AlbumIds.Contains(e.ParentId.Value));
|
||||
}
|
||||
|
||||
if (filter.ExcludeArtistIds.Length > 0)
|
||||
|
||||
Reference in New Issue
Block a user