mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Backport pull request #8209 from jellyfin/release-10.8.z
Fix series query including missing episodes when it should not Original-merge: 9357d610b13e2d9a759d69ed80dd71108af1e602 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…
x
Reference in New Issue
Block a user