Backport pull request #15594 from jellyfin/release-10.11.z

Fix isMovie filter logic

Original-merge: 94f3725208

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
theguymadmax
2025-12-03 14:04:25 -05:00
committed by Bond_009
parent ebcfed83c4
commit 70dcf3f7b3
2 changed files with 9 additions and 10 deletions

View File

@@ -1409,7 +1409,7 @@ namespace MediaBrowser.Controller.Entities
if (this is BoxSet && (query.OrderBy is null || query.OrderBy.Count == 0))
{
realChildren = realChildren
.OrderBy(e => e.ProductionYear ?? int.MaxValue)
.OrderBy(e => e.PremiereDate ?? DateTime.MaxValue)
.ToArray();
}