I am trying to add filter as below based on the example.
Issue: FilterOperator applied is always "FilterOperator.Equal" instead of "FilterOperator.GreaterThanOrEquals".
In my case, Once the CompositeFilterDescriptor object is created with "FilterOperator.GreaterThanOrEquals" or "FilterOperator.GreaterThan" or "FilterOperator.LessThanOrEquals" or "FilterOperator.LessThan", i am adding them using dataFilter.AddFilter() functon, but unfortunately this always result in applying "FilterOperator.Equal" to the 'FilterOperator' filed of the filter. I am not able to save custom reports because when loading and applying, i am awalys seeing "FilterOperator.Equal" even the actual filter it supposed to apply is "FilterOperator.GreaterThan" . I found out this issue when I am abut to deploy my code to production Please let me know if I am missing something, but looks this is a serious bug. Looking forward for a fix. i debugged using the blazor repository code, issue is found in the demo code also.
protected override async Task OnAfterRenderAsync(bool firstRender)
{
await base.OnAfterRenderAsync(firstRender);
if (firstRender)
{
await dataFilter.AddFilter(new CompositeFilterDescriptor()
{
Property = "OrderDate",
FilterValue = new DateTime(2016, 7, 22),
FilterOperator = FilterOperator.GreaterThanOrEquals
});
}
}