evoluteur / structured-filter

jQuery UI widget for structured queries like "Contacts where Firstname starts with A and Birthday before 1/1/2000 and State in (CA, NY, FL)"...
http://evoluteur.github.io/structured-filter/
MIT License
258 stars 61 forks source link

Filrer as OData query #19

Closed Misiu closed 7 years ago

Misiu commented 7 years ago

Hi there, first of all thank You for such great project. I'm wondering if it is possible to create OData query from filter build with Your builder. I'd like to use Your builder to create filter that could be send to OData endpoint.

evoluteur commented 7 years ago

That is a very good idea and it should be possible. The API of Structured-Filter only covers a subset of the OData API and uses different conventions but the structure of both are similar enough to make it possible. I think the easiest would be to make a wrapper around Structured-Filter.