Unplanned
Last Updated: 21 Jan 2020 07:20 by ADMIN
Jonas
Created on: 21 Jan 2020 07:19
Category: UI for ASP.NET MVC
Type: Feature Request
1
Deserialized Filter structure should be the same as on the client

I have a problem with the DataSourceRequest Filters that are passed from grid to controller - they are not deserialized as I would expect it.

At the client side, I pass a single Composite Filter with logic: "or" and several Filter Items with same field and operator, but different values:

page=1
pageSize=30
filter=somefield~eq~123456~or~somefield~eq~242615~or~somefield~eq~242617

At the server side, they are not deserialized in the same form as I would expect, but in a recursive way. I would prefer to not convert the whole filter chain in my own code, only to process it in the same way it was sent from the client 

0 comments