-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I would like to be able to filter people by created_date in order to find new activists.
I started a branch to add an optional filter parameter to list but realized it gets complicated quickly. Multiple filter options with and and or are supported. For example
filter=(email_address eq 'a@example.com' or email_address eq 'b@example.com') and created_date lt '2018-01-01'
Before I get too far wanted to get your thoughts on how you'd like to support this (if at all).
I see that the special method People#find_by_email uses filtering, so some possible options are
- add another special method
People#find_created_since(Date) - add a generic
filterparameter tolistbut support just a single field (that is the path I started down) - add a generic
filterparameter tolistthat supports multiple fields and joins withandandor
I'm happy to contribute this feature, just wanted to get feedback before working on it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels