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

Fields with a filter of a relationship breaks filtering in columns #3512

Closed
Noviny opened this issue Sep 21, 2016 · 0 comments
Closed

Fields with a filter of a relationship breaks filtering in columns #3512

Noviny opened this issue Sep 21, 2016 · 0 comments

Comments

@Noviny
Copy link
Contributor

Noviny commented Sep 21, 2016

field: { type: Types.Relationship, ref: 'list2', filters: { list3: ':list3' },

In the above case where a relationship field is being filtered by a second relationship, the column filter breaks, and is unable to retrieve the relationship's items to filter by. It tries to filter by list3, however the database errors as :list3 is not a valid objectId and cannot be parsed.

The :notation is intended for limiting options when viewing a specific object, and should not be applied in the general column case.

PR to follow with one possible solution implementation.

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