Closed that1guy closed 9 years ago
Notice the comma that is necessary after the categoryCode. If the comma is not there we get error
http://localhost:4043/v1/postings/?start=0&count=35&filters[mandatory][contains][heading]=macbook&filters[optional][exact][categoryCode]=SELE,&geo[coords]=-122.431297,37.773972&geo[min]=0&geo[max]=100000
http://localhost:4043/v1/postings/?start=0&count=35&filters[mandatory][contains][heading]=macbook&filters[optional][exact][categoryCode]=SELE&geo[coords]=-122.431297,37.773972&geo[min]=0&geo[max]=100000
{ "name": "PersistenceError", "message": "unable to find postings", "sourceError": { "statusCode": 400 }, "statusCode": 500, "options": { "count": "35", "filters": { "mandatory": { "contains": { "heading": "macbook" } }, "optional": { "exact": { "categoryCode": "SELE" } } }, "geo": { "coords": [ -122.431297, 37.773972 ], "min": 0, "max": 100000 }, "sort": {}, "start": "0" } }
Resolved this with fixes introduced for #44
Notice the comma that is necessary after the categoryCode. If the comma is not there we get error
This query works cause it has a comma
This does not
Here is our error