diff options
| author | Tim Eisele <Ghost_of_Stone@web.de> | 2025-04-27 02:49:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-26 18:49:30 -0600 |
| commit | f576783ae11d66ab1c4437dd975eefeea638bb3f (patch) | |
| tree | 5b05055dcc3b6b115b422c87325b834d04e4175d /Jellyfin.Api/Controllers/YearsController.cs | |
| parent | 67110b512a39a3192ed010408ac78418477c26a9 (diff) | |
Fix distinction queries (#14007)
Diffstat (limited to 'Jellyfin.Api/Controllers/YearsController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/YearsController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/YearsController.cs b/Jellyfin.Api/Controllers/YearsController.cs index ebf98da45..b60258586 100644 --- a/Jellyfin.Api/Controllers/YearsController.cs +++ b/Jellyfin.Api/Controllers/YearsController.cs @@ -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); } } |
