Fixed: (API) Prevent search failed exception when using non-interactive search

pull/1777/head
Bogdan 1 year ago
parent a5b5e7a3a5
commit c9b1d0d958

@ -165,7 +165,7 @@ namespace NzbDrone.Core.IndexerSearch
(criteriaBase.IndexerIds.Contains(-2) && i.Protocol == DownloadProtocol.Torrent))
.ToList();
if (indexers.Count == 0)
if (criteriaBase.InteractiveSearch && indexers.Count == 0)
{
_logger.Debug("Search failed due to all selected indexers being unavailable: {0}", string.Join(", ", criteriaBase.IndexerIds));

Loading…
Cancel
Save