Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

filter[include] not working #8

Open
rkpattanaik opened this issue Jan 2, 2016 · 1 comment
Open

filter[include] not working #8

rkpattanaik opened this issue Jan 2, 2016 · 1 comment

Comments

@rkpattanaik
Copy link

I have two models in my app as 'Owner' and 'Place'.
Owner and Place are related by hasMany relation (i.e Owner hasMany Place).
Now I am trying to populate all the places that belong to respective owners in a single GET request i.e localhost:3000/api/owners?filter[include]=places.
But the problem is I am getting the owner details but there's no 'places' array returned in the response.
Please anybody help me on this.

@ahallez
Copy link

ahallez commented Oct 3, 2016

It seems I have the same problem. Include filter not working on couchdb

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

No branches or pull requests

2 participants