Fix distinction queries (#14007)

This commit is contained in:
Tim Eisele
2025-04-27 02:49:30 +02:00
committed by GitHub
parent 67110b512a
commit f576783ae1
15 changed files with 54 additions and 53 deletions

View File

@@ -223,6 +223,6 @@ public class YearsController : BaseJellyfinApiController
.Select(i => i.ProductionYear ?? 0)
.Where(i => i > 0)
.Distinct()
.Select(year => _libraryManager.GetYear(year));
.Select(_libraryManager.GetYear);
}
}