Stats & More Polish on Metadata Matching (#3538)

This commit is contained in:
Joe Milazzo
2025-02-09 14:39:43 -06:00
committed by GitHub
parent 6f3ba0948b
commit 5d6a5f0987
34 changed files with 178 additions and 124 deletions
@@ -294,7 +294,7 @@ public static class QueryableExtensions
MatchStateOption.NotMatched => query.
Include(s => s.ExternalSeriesMetadata)
.Where(s => (s.ExternalSeriesMetadata == null || s.ExternalSeriesMetadata.ValidUntilUtc == DateTime.MinValue) && !s.IsBlacklisted && !s.DontMatch),
MatchStateOption.Error => query.Where(s => s.IsBlacklisted),
MatchStateOption.Error => query.Where(s => s.IsBlacklisted && !s.DontMatch),
MatchStateOption.DontMatch => query.Where(s => s.DontMatch),
_ => query
};