Limiting currentMemberships doesn't seem to work as intended?


#1

Hi hi, I am scoping out state legislator contact flows for resistbot, and poking around the openstates v2 API. It’s so cool!!!

I have one simple question from trying some of the query examples. It looks like currentMemberships(classification:"party") doesn’t work as intended, and all memberships are returned. For example, the Get legislators for a particular state/chamber example doesn’t work as intended (it includes all memberships, not just party and chamber memberships).

Is this a known issue, or is there something I can contribute to help resolve it?

Thanks,
Jason


#2

have been busy but just created this issue: https://github.com/openstates/new-openstates.org/issues/93 to track this, I’ll investigate


#3

Thank you for looking into this!