-
Notifications
You must be signed in to change notification settings - Fork 726
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
bug: referenced_list field (ng-admin v0.8.0) #553
Comments
In 0.7.0 with referenced_list .targetReferenceField function isn't working. It always shows all the entities that you receive via the query. It does not filter them and assign only th |
On the demo, I can see related comments to a given post, using the master version (see http://ng-admin.marmelab.com/#/posts/show/1). It seems to work on my side, I can't reproduce your issue. |
I have the same issue. Its obvious since commit "5e16a3c30ec5ce6f913a1dd7d393d2397a30fbd3" |
OK so if I understand this example:
will produce GET:
and if I do not set
The differece is with If this is intended then this means that the filtering should be done on the server side which is OK. I just think this should be stated somewhere. |
When I reported #552 issue I figure it that it only appears in 0.8.0 version. So now I'm using 0.7.0 version and with this I found another bug in 0.8.0. Before I moved to 0.7.0 I just taught that my code is the problem but when I switched to 0.7.0 this started to work.
So the bug is with listing one-many relations. Like Post and Comments. I have this code:
In 0.7.0 this lists related articles to the user. It is just like in the example page... In 0.8.0 there is no error and you see only empty space
The text was updated successfully, but these errors were encountered: