Fix: Change IndexerId to ProviderId in OrphanedIndexer Housekeeper

This commit is contained in:
Qstick 2017-10-25 22:02:51 -04:00
parent a69ceb35fb
commit 541edc9749
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Datastore;
namespace NzbDrone.Core.Housekeeping.Housekeepers
{
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Housekeeping.Housekeepers
WHERE Id IN (
SELECT IndexerStatus.Id FROM IndexerStatus
LEFT OUTER JOIN Indexers
ON IndexerStatus.IndexerId = Indexers.Id
ON IndexerStatus.ProviderId = Indexers.Id
WHERE Indexers.Id IS NULL)");
}
}