Hi, I have the following problem.
I have DB service which lists several places to eat that are loaded into a collection. Then, it's response is mapped to a collapsible array. So I have a collapsible per every place for eating.
Then, I have another collection with the food plates of every place, and it is linked to its food place id.
Then i have created another DB service to query and populate the food places collapsibles with those foods served at that particular place.
I did this by reading the title or Text property of the main collapsible, the one that has the Food place name.
I linked that text (food place name) to the 'where' condition of the query as follows:
return '{"idCarta":{"$inQuery":{"NombreCarta":"' + value + '"}}}';
NombreCarta would be the food places name, and idCarta is the pointer to FoodPlace id.
For some reason I can't define this is not working for me. I am not able to populate the food place collapsibles with food inside them.
What I am trying to achieve is somethinf like this:
Each food plate in one collapsible with its description and other stuff, inside the food place collapsible it belongs to.
I would appreciate very much your help to figure this out
Thanks!