From 58dca50a7100ce278059f27e589c1d4d09f2f033 Mon Sep 17 00:00:00 2001 From: marc tobias Date: Tue, 1 Sep 2020 18:53:24 +0200 Subject: [PATCH 1/1] detail page now adds class parameter to API request --- dist/assets/js/nominatim-ui.js | 1 + src/assets/js/detailpage.js | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/assets/js/nominatim-ui.js b/dist/assets/js/nominatim-ui.js index 4b1ba8a..ea301b5 100644 --- a/dist/assets/js/nominatim-ui.js +++ b/dist/assets/js/nominatim-ui.js @@ -235,6 +235,7 @@ function details_page_load() { place_id: search_params.get('place_id'), osmtype: search_params.get('osmtype'), osmid: search_params.get('osmid'), + class: search_params.get('class'), keywords: search_params.get('keywords'), addressdetails: 1, hierarchy: (search_params.get('hierarchy') === '1' ? 1 : 0), diff --git a/src/assets/js/detailpage.js b/src/assets/js/detailpage.js index 23447e9..3a95187 100644 --- a/src/assets/js/detailpage.js +++ b/src/assets/js/detailpage.js @@ -63,6 +63,7 @@ function details_page_load() { place_id: search_params.get('place_id'), osmtype: search_params.get('osmtype'), osmid: search_params.get('osmid'), + class: search_params.get('class'), keywords: search_params.get('keywords'), addressdetails: 1, hierarchy: (search_params.get('hierarchy') === '1' ? 1 : 0), -- 2.39.5