diff --git a/src/components/LocationSelectorDialog.vue b/src/components/LocationSelectorDialog.vue index 3a818b59e01..c015664b611 100644 --- a/src/components/LocationSelectorDialog.vue +++ b/src/components/LocationSelectorDialog.vue @@ -169,6 +169,7 @@ export default { } }, search() { + this.$refs.locationInput.blur() this.results = null this.loading = true api.openstreetmapSearch(this.locationSearchForm.q, this.searchProvider) diff --git a/src/constants.js b/src/constants.js index d3b71adf6d8..20833c79380 100644 --- a/src/constants.js +++ b/src/constants.js @@ -33,6 +33,7 @@ export default { { key: 'opf', value: OPF_NAME, icon: OPF_ICON }, { key: 'opff', value: OPFF_NAME, icon: OPFF_ICON }, ], + QUERY_PARAM: 'q', FILTER_PARAM: 'filter', PRODUCT_FILTER_LIST: [ { key: 'hide_price_count_gte_1', value: 'FilterProductWithPriceCountHide' }, diff --git a/src/views/Search.vue b/src/views/Search.vue index c3b98cce19e..07cbab9976d 100644 --- a/src/views/Search.vue +++ b/src/views/Search.vue @@ -8,17 +8,21 @@ + + @@ -44,6 +48,7 @@