whosonfirst/whosonfirst-www-spelunker

Better error code when no language faceting results

Opened this issue · 1 comments

File under polish... Turns out "all" the country features are translated to English, huzzah!

But looking at that page returns an error saying it doesn't know about the country placetype, when it's that there aren't any bad data matches to display.

https://whosonfirst.dev.mapzen.com/spelunker/placetypes/country/?&translations=!eng

While looking at a result like Spanish that is missing translations will display them as a list:

https://whosonfirst.dev.mapzen.com/spelunker/placetypes/country/?&translations=!spa

screen shot 2017-07-07 at 14 32 54

screen shot 2017-07-07 at 14 32 50

Followup for: #105.