Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 2.7
-
None
-
Patch
Description
Email date filtering doesn't work correctly.
else if (findParameterName.equals(EmailConfig.EMAIL_START_DATE)) { comparisonTerm = ComparisonTerm.LT; } else if (findParameterName.equals(EmailConfig.EMAIL_END_DATE)) { comparisonTerm = ComparisonTerm.GT; }
It must be as follow:
else if (findParameterName.equals(EmailConfig.EMAIL_START_DATE)) { comparisonTerm = ComparisonTerm.GT; } else if (findParameterName.equals(EmailConfig.EMAIL_END_DATE)) { comparisonTerm = ComparisonTerm.LT; }
Reference: ComparisonTerm
ComparisonTerm.GT : The greater than operator. ComparisonTerm.LT : The less than operator.