Revert incorrect change (I deserve to be shot)

This commit is contained in:
Detze 2024-02-29 08:15:49 +01:00
parent caad89a4dd
commit 9f2ea1e936
1 changed files with 6 additions and 6 deletions

View File

@ -402,19 +402,19 @@ private static bool tryUpdateDateAgoRange(ref FilterCriteria.OptionalRange<DateT
// we'll want to flip the operator, such that `>5d` means "more than five days ago", as in "*before* five days ago",
// as intended by the user.
case Operator.Less:
op = Operator.GreaterOrEqual;
break;
case Operator.LessOrEqual:
op = Operator.Greater;
break;
case Operator.LessOrEqual:
op = Operator.GreaterOrEqual;
break;
case Operator.Greater:
op = Operator.LessOrEqual;
op = Operator.Less;
break;
case Operator.GreaterOrEqual:
op = Operator.Less;
op = Operator.LessOrEqual;
break;
}