mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Fixed bug with some indexers not passing test
This commit is contained in:
@@ -190,7 +190,7 @@ namespace Jackett
|
|||||||
|
|
||||||
if (torznabQuery.RageID != 0)
|
if (torznabQuery.RageID != 0)
|
||||||
torznabQuery.ShowTitles = await sonarrApi.GetShowTitle(torznabQuery.RageID);
|
torznabQuery.ShowTitles = await sonarrApi.GetShowTitle(torznabQuery.RageID);
|
||||||
else
|
else if (!string.IsNullOrEmpty(torznabQuery.SearchTerm))
|
||||||
torznabQuery.ShowTitles = new string[] { torznabQuery.SearchTerm };
|
torznabQuery.ShowTitles = new string[] { torznabQuery.SearchTerm };
|
||||||
|
|
||||||
var releases = await indexer.PerformQuery(torznabQuery);
|
var releases = await indexer.PerformQuery(torznabQuery);
|
||||||
|
Reference in New Issue
Block a user