diff options
| author | theguymadmax <theguymadmax@proton.me> | 2025-09-12 15:58:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-12 13:58:42 -0600 |
| commit | 96590eea8516173d6983c164bb29743eaea6f8d7 (patch) | |
| tree | 4d2645a728779ab200581490aff2525a5d8ac42f /Jellyfin.Server.Implementations | |
| parent | 6796b3435d893fde8c1ae7551f52b1fbb1bc489c (diff) | |
Fix duplicate media entries (#14404)
Diffstat (limited to 'Jellyfin.Server.Implementations')
| -rw-r--r-- | Jellyfin.Server.Implementations/Item/BaseItemRepository.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs index cf4f405ee..1b55d2dc7 100644 --- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs +++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs @@ -1884,7 +1884,7 @@ public sealed class BaseItemRepository if (!string.IsNullOrWhiteSpace(filter.NameStartsWith)) { - baseQuery = baseQuery.Where(e => e.SortName!.StartsWith(filter.NameStartsWith) || e.Name!.StartsWith(filter.NameStartsWith)); + baseQuery = baseQuery.Where(e => e.SortName!.StartsWith(filter.NameStartsWith)); } if (!string.IsNullOrWhiteSpace(filter.NameStartsWithOrGreater)) |
