DateOnly field cannot be filtered in a Grid configured for OData binding #8083
Labels
Bug
C: Grid
FP: Unplanned
Sync status with associated Feedback Item
S: Wrappers (ASP.NET Core)
S: Wrappers (ASP.NET MVC)
SEV: Low
Bug report
When the Grid is set up for OData-v4 binding, the columns that bind to DateOnly fields fail to filter. The date value in the filter expression contains the time portion and the following error is thrown:
"The binary operator GreaterThan is not defined for the types 'System.Nullable
1[System.DateOnly]' and 'System.Nullable
1[System.DateTimeOffset]'."Reproduction of the problem
Expected/desired behavior
The DateOnly fields must be filtered successfully as the DateTime fields.
Environment
The text was updated successfully, but these errors were encountered: