mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Fix distinction queries (#14007)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user