Backport pull request #8209 from jellyfin/release-10.8.z
Fix series query including missing episodes when it should not
Original-merge: 9357d610b1
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Backported-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
parent
3e5cf9395f
commit
7b05e0a413
|
@ -263,10 +263,14 @@ namespace MediaBrowser.Controller.Entities.TV
|
|||
SeriesPresentationUniqueKey = seriesKey,
|
||||
IncludeItemTypes = new[] { BaseItemKind.Episode, BaseItemKind.Season },
|
||||
OrderBy = new[] { (ItemSortBy.SortName, SortOrder.Ascending) },
|
||||
DtoOptions = options,
|
||||
IsMissing = user?.DisplayMissingEpisodes
|
||||
DtoOptions = options
|
||||
};
|
||||
|
||||
if (user == null || !user.DisplayMissingEpisodes)
|
||||
{
|
||||
query.IsMissing = false;
|
||||
}
|
||||
|
||||
var allItems = LibraryManager.GetItemList(query);
|
||||
|
||||
var allSeriesEpisodes = allItems.OfType<Episode>().ToList();
|
||||
|
|
Loading…
Reference in New Issue
Block a user