UHaifa-IS / whgazetteer-mehdie

World Historical Gazetteer - MEHDIE version
http://whgazetteer.org
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

bug - blocked links between elements in the browse view #197

Closed sinairusinek closed 3 months ago

sinairusinek commented 3 months ago

https://tools.mehdie.org/datasets/257/browse Clicking some place in the table, like 109303, opens both the place on the map and the info and graph below, but some places like 109161 (tripoli) do not open the info and graph. Also, when cilcking on the dot in the map the info would not open.

tomersagi commented 3 months ago

Problem stems from the fact that some links are null and don't have a valid identifier. These can be found using this query: SELECT * FROM place_link WHERE "jsonb"->>'type' is null

tomersagi commented 3 months ago

Fixed