Fixed: Dedupe titles to avoid similar search requests

Closes #10278
pull/10296/head
Bogdan 3 months ago
parent 7d5236de21
commit 1e783bfe07

@ -90,7 +90,7 @@ namespace NzbDrone.Core.IndexerSearch
queryTranslations.Add(translation.Title);
}
spec.SceneTitles = queryTranslations.Distinct().Where(t => t.IsNotNullOrWhiteSpace()).ToList();
spec.SceneTitles = queryTranslations.Where(t => t.IsNotNullOrWhiteSpace()).Distinct(StringComparer.InvariantCultureIgnoreCase).ToList();
return spec;
}

Loading…
Cancel
Save