From fc6ac3ddf191025d4ebe3af542fbd97ef981f0ca Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 20 Aug 2023 10:38:00 -0700 Subject: [PATCH] Fixed: Allow Min/Max age to be the same for year auto tagging --- .../AutoTagging/Specifications/YearSpecification.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/AutoTagging/Specifications/YearSpecification.cs b/src/NzbDrone.Core/AutoTagging/Specifications/YearSpecification.cs index 2fea8aeb1..f2f97aef5 100644 --- a/src/NzbDrone.Core/AutoTagging/Specifications/YearSpecification.cs +++ b/src/NzbDrone.Core/AutoTagging/Specifications/YearSpecification.cs @@ -12,7 +12,7 @@ namespace NzbDrone.Core.AutoTagging.Specifications RuleFor(c => c.Min).NotEmpty(); RuleFor(c => c.Min).GreaterThan(0); RuleFor(c => c.Max).NotEmpty(); - RuleFor(c => c.Max).GreaterThan(c => c.Min); + RuleFor(c => c.Max).GreaterThanOrEqualTo(c => c.Min); } }