mirror of
https://github.com/Radarr/Radarr
synced 2025-01-03 05:44:50 +00:00
Fixed: Ignore case when resolving indexer by name in release push
(cherry picked from commit a90ab1a8fd50126d7f60eaa684eac1e0cd98e2b7)
This commit is contained in:
parent
99b3d61862
commit
62e1c02fe2
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ private void ResolveIndexer(ReleaseInfo release)
|
||||||
{
|
{
|
||||||
if (release.IndexerId == 0 && release.Indexer.IsNotNullOrWhiteSpace())
|
if (release.IndexerId == 0 && release.Indexer.IsNotNullOrWhiteSpace())
|
||||||
{
|
{
|
||||||
var indexer = _indexerFactory.All().FirstOrDefault(v => v.Name == release.Indexer);
|
var indexer = _indexerFactory.All().FirstOrDefault(v => v.Name.EqualsIgnoreCase(release.Indexer));
|
||||||
|
|
||||||
if (indexer != null)
|
if (indexer != null)
|
||||||
{
|
{
|
||||||
release.IndexerId = indexer.Id;
|
release.IndexerId = indexer.Id;
|
||||||
|
|
Loading…
Reference in a new issue