1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

New: Missing/Cutoff Unmet searches will search for episodes that haven't been searched recently first

Closes #3067
This commit is contained in:
Mark McDowall
2022-12-27 23:27:31 -08:00
parent 2491da0678
commit f504dfcbab
4 changed files with 71 additions and 35 deletions
@@ -540,7 +540,7 @@ namespace NzbDrone.Core.IndexerSearch
_logger.Debug("Setting last search time to: {0}", lastSearchTime);
criteriaBase.Episodes.ForEach(e => e.LastSearchTime = lastSearchTime);
_episodeService.UpdateEpisodes(criteriaBase.Episodes);
_episodeService.UpdateLastSearchTime(criteriaBase.Episodes);
}
return _makeDownloadDecision.GetSearchDecision(reports, criteriaBase).ToList();