WhiteHouse / ndoch-hackathon

15 stars 14 forks source link

API search on title and body is case sensitive #12

Closed ivanstegic closed 11 years ago

ivanstegic commented 11 years ago

It seems that the "title" and "body" fields in the API are case sensitive -- they probably shouldn't be :)

Trying to find petitions about Westboro Baptist Church, hit the API with:

https://api.whitehouse.gov/v1/petitions.jsonp?title=westboro

Get no results. Try it with an uppercase "W" and you get results:

https://api.whitehouse.gov/v1/petitions.jsonp?title=Westboro

This shouldn't be the case -- we should get results for both cases.

stevegrunwell commented 11 years ago

Already opened a ticket a few days ago on the Petitions project :): https://github.com/WhiteHouse/petitions/issues/60

ivanstegic commented 11 years ago

@stevegrunwell thanks Steve, but I was asked to include it here so that they could review them all in one spot

welschp commented 11 years ago

Definitely on our radar, thanks for flagging.

theneonlobster commented 11 years ago

This issue was resolved in the last release.

BigSauce commented 11 years ago

Confirmed! Thanks!

BigSauce commented 11 years ago

@theneonlobster: when you say "in the last release", are you referring to the initial release of the We the People API? If you were referring to a later release, then I did not know another version had been released. How can developers remain privy to new releases?