planningcenter / developers

Planning Center API docs and support
https://developer.planning.center/docs/
85 stars 8 forks source link

Order by Membership not working #1183

Closed ReubsP closed 3 months ago

ReubsP commented 4 months ago

Affected Product Which product does this bug affect?

People

Describe the bug

Ordering people by membership returns Status 500 "Internal Server Error"

To Reproduce

Request this: https://api.planningcenteronline.com/people/v2/people?order=membership

Expected behavior

This should return a list of people, ordered by their membership.

Screenshots

Additional Context:

Additional context

I have..

seven1m commented 4 months ago

We are aware of this bug, and thank you for the report!

shanebonham commented 3 months ago

Hi @ReubsP,

This issue should be fixed now. Thanks for letting us know!

ReubsP commented 3 months ago

Thanks @shanebonham. Is it possible to still include people who don't have a membership (membership: null)? I'm pretty sure it used to do that but I could be wrong...

shanebonham commented 3 months ago

Hi @ReubsP,

I'm not actually sure whether sorting by membership previously included profiles with a null value, but that does seem to be non-standard behavior for this attribute. We'll be looking into that and I'll report back here when we've got a resolution. Thanks for bringing that to our attention!

gjack commented 2 months ago

Hi @ReubsP

We're happy to let you know that the fix for this issue is now live in production.

Thank you for being so patient!