Hello,
I would like to restrict the number of results returned by a service by adding where clauses. I have tried the following:
created 'where' request parameter
mapped it to my component
added this javascript: codereturn '{"Brand":"'+value+'"}';/code
This works just fine and the list displayed in the app is only for the selected brand.
I have then added a second 'where' request parameter (once again it references data in a component for the query). I thought this would combine with the first to create an AND but it is ignored.
It seems that I am not doing the correct thing for constructing a Where this AND Where this query.
I read another post explaining how to combine multiple wheres in one query but it was based on static data. Not data coming from components.
Would you help please.
Thanks, Shaun.