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

Filtering criteria from a property in Array of objects #169

Open
manideep-karnati opened this issue May 8, 2018 · 0 comments
Open

Filtering criteria from a property in Array of objects #169

manideep-karnati opened this issue May 8, 2018 · 0 comments

Comments

@manideep-karnati
Copy link

I want to filter based on the department name. Was trying to do by adding the criteria rule like the below

" FJS.addCriteria({field: 'departments[0].name', ele: '#department-filter input:checkbox'}); "
but this isn't creating the filter.

FYI data is like below:
{"departments": [{
"id": 148,
"name": "UX & Product Design ",
"child_ids": [],
"parent_id": null
}]}

Could you please help.

Thankyou

@manideep-karnati manideep-karnati changed the title Filtering criteria from an property in Array of objects Filtering criteria from a property in Array of objects May 8, 2018
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