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

using underscore.reject to add an 'Other' party instead of Independent. #7

Open
shaneknysh opened this issue Mar 15, 2017 · 1 comment

Comments

@shaneknysh
Copy link
Contributor

I was trying to add an 'Other' party to list the MPs who are not part of the bigger parties or sit as independents.

filteredPartyData = filteredPartyData.reject({party_name: "Liberal"}); // works
filteredPartyData = this.collection.reject({party_name: ["Conservative","NDP"]}); //does not work

Stack exchange and Google are failing me.

@kidcompassion
Copy link
Owner

@shaneknysh clever! I may take a shot at this over the next week.

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

No branches or pull requests

2 participants