-
Notifications
You must be signed in to change notification settings - Fork 2
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
add /members/search endpoint #20
Comments
@OriHoch |
@OriHoch Also do you prefer one endpoint |
I'll check
I don't have a preference |
fixed in #21 - assigning issue to me to test |
this endpoint allows to search for members using some complex logic, it should return mk_individual_id of matching members, users can then use the new endpoint to get members details (#19)
name
search by name or part of name either "first last" or "last first", also in altnames
to allow searching by either first / last or last / first, do a search on all permutations:
committee
if value is an integer - do a simple search on committee id:
else - search on committee name:
faction
same as committee, just on the factions table
faction_chairperson
same as faction, just on the faction_chairperson table
govministries
same as faction, just on govministries table - search on govministry_id / gobministry_name
The text was updated successfully, but these errors were encountered: