Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing quotation marks when filter value is the name of a property #164

Open
darianferrer opened this issue Sep 12, 2016 · 0 comments
Open

Comments

@darianferrer
Copy link

Hi, I found a strange behavior when filtering with breeze, when using as filter value the name of a property of the filtering entity, does not surround the value with single quotation marks, the following url filter a field by LastName, wich it's a property, in the second url filtering by LastNam has the quotation marks

http://backoffice.app.tempuri.org/api/v1/people/summary?$filter=substringof(LastName%2CTravelDocument%2FDocumentNumber)%20eq%20true&$orderby=Contact%2FDisplayName&$top=10&$inlinecount=allpages

http://backoffice.app.tempuri.org/api/v1/people/summary?$filter=substringof(%27LastNam%27%2CTravelDocument%2FDocumentNumber)%20eq%20true&$orderby=Contact%2FDisplayName&$top=10&$inlinecount=allpages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant