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

Support more flexible name queries #15

Open
kuanb opened this issue Feb 29, 2016 · 1 comment
Open

Support more flexible name queries #15

kuanb opened this issue Feb 29, 2016 · 1 comment

Comments

@kuanb
Copy link

kuanb commented Feb 29, 2016

At present, the name search is not breaking up name by first and last name, so if an individual queries for name in FIRST LAST format, it won't come up.

Here is an example:

&defendant_name=JACINTA%20MARTINEZ returns nothing.

&defendant_name=MARTINEZ,%20JACINTA returns 2 appointments.

@s2t2
Copy link
Member

s2t2 commented Feb 29, 2016

Can split the parameter value on " " and search for each substring, although that might lead to many false positive matches. Else can try to convert "First Last" to "Last, First" assuming all incoming queries are for "First Last".

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

No branches or pull requests

2 participants