Fixed: History shows total results instead of query results for multi-part queries

pull/65/head
Qstick 4 years ago
parent 20482fb39f
commit 9d16c93252

@ -167,7 +167,7 @@ namespace NzbDrone.Core.IndexerSearch
foreach (var query in indexerReports.Queries)
{
_eventAggregator.PublishEvent(new IndexerQueryEvent(indexer.Definition.Id, criteriaBase, query.ElapsedTime, query.StatusCode == 200, indexerReports.Releases.Count()));
_eventAggregator.PublishEvent(new IndexerQueryEvent(indexer.Definition.Id, criteriaBase, query.ElapsedTime, query.StatusCode == 200, query.Releases.Count()));
}
return indexerReports.Releases;

Loading…
Cancel
Save