histograph / viewer

Viewer for Histograph API & Data
http://histograph.io/viewer
MIT License
0 stars 1 forks source link

Do only q=<query> queries #18

Closed bertspaan closed 9 years ago

bertspaan commented 9 years ago

On https://github.com/histograph/viewer/blob/develop/src/app.js#L117, the Viewer converts creates ?name=<query>, ?hgid=<query> or ?uri=<query> queries to the Histograph API, depending on the contents of the query string. This is not needed anymore (since https://github.com/histograph/api/commit/9f54dd3fb601ba1d84382b42f79e57ad9e679bd6, the API accepts ?q=<query> queries, where <query> can contain URIs, hgids, or names). Also, the q paramaters accepts queries like q=amsterdam,drenthe and converts those to q=amsterdam&hg:liesIn=drenthe.

Ivokato commented 9 years ago

fixed, now puts whole query in q= param