]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/assets/js/detailpage.js
/details.html, not /details
[nominatim-ui.git] / src / assets / js / detailpage.js
index aa3d771e4700cea0cd1148a07c1cb72694be83c3..302e54a68a8cf2bb6c23d1f9ad200ff511049d8f 100644 (file)
@@ -54,8 +54,8 @@ jQuery(document).ready(function(){
 
     var api_request_params = {
         place_id: search_params.get('place_id'),
-        place_id: search_params.get('osmtype'),
-        place_id: search_params.get('osmid'),
+        osmtype: search_params.get('osmtype'),
+        osmid: search_params.get('osmid'),
         group_parents: 1,
         format: 'json'
     };