mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
Apply ParentId.Value suggestion
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
23f8ec93ab
commit
5df25cf688
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue