Merge pull request #5734 from jellyfin/fix-isplayed-itemvalues

move IsPlayed to outerquery
pull/5747/head
Claus Vium 4 years ago committed by GitHub
commit d532e95410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5415,7 +5415,6 @@ AND Type = @InternalPersonType)");
ItemIds = query.ItemIds,
TopParentIds = query.TopParentIds,
ParentId = query.ParentId,
IsPlayed = query.IsPlayed,
IsAiring = query.IsAiring,
IsMovie = query.IsMovie,
IsSports = query.IsSports,
@ -5441,6 +5440,7 @@ AND Type = @InternalPersonType)");
var outerQuery = new InternalItemsQuery(query.User)
{
IsPlayed = query.IsPlayed,
IsFavorite = query.IsFavorite,
IsFavoriteOrLiked = query.IsFavoriteOrLiked,
IsLiked = query.IsLiked,

Loading…
Cancel
Save