mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 15:47:20 +02:00
Fixed: Allow Min/Max age to be the same for year auto tagging
(cherry picked from commit fc6ac3ddf191025d4ebe3af542fbd97ef981f0ca)
This commit is contained in:
parent
5236d46c2b
commit
3c42ad0f7f
@ -12,7 +12,7 @@ public YearSpecificationValidator()
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user