Skip to content

API Case Sensitivity? #2

@paradoxxjm

Description

@paradoxxjm

Currently the API call records are case sensitive, and they probably don't need to be.
For example:
If you query the number of farmers in St Thomas who have last name Johnson with a common "johnson", the API returns no farmers. But if you change it to "Johnson" it returns 9 records.

Lower-case "johnson" : http://agriapi.herokuapp.com/farmers/?res_parish=ST.THOMAS&last_name=johnson
Upper-case "Johnson" : http://agriapi.herokuapp.com/farmers/?res_parish=ST.THOMAS&last_name=Johnson

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions