Fix duplicate media entries (#14404)

This commit is contained in:
theguymadmax 2025-09-12 15:58:42 -04:00 committed by GitHub
parent 6796b3435d
commit 96590eea85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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))