You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
The filter function does work on the first URL, but not on the second, because it removes the ?key=KEY parameter and replaces it with ?filter=nodes, for example.
Author: AlfonZ [Added to the original trac issue at 5.03pm, Wednesday, 13th June 2012]
I think similar fix should be applied to tag.erb as well, so filtering works for tags called by [http://taginfo.openstreetmap.org/tags/?key=KEY&value=VALUE] too.
Reporter: Michi
[Submitted to the original trac issue database at 5.41pm, Friday, 11th February 2011]
As stated on the OSM wiki, taginfo can be called by two different URLs:
http://taginfo.openstreetmap.de/keys/KEY
http://taginfo.openstreetmap.de/keys/?key=KEY
The filter function does work on the first URL, but not on the second, because it removes the ?key=KEY parameter and replaces it with ?filter=nodes, for example.
The problem lies in line 108 of key.erb (https://github.com/joto/taginfo/blob/master/web/views/key.erb#L108):
The key parameter is overwritten with "filter=...".
I've attached a patch.
The text was updated successfully, but these errors were encountered: