diff --git a/src/components/Autocomplete.vue b/src/components/Autocomplete.vue index e12fb7efd302cb1a87f43669827570ea76a17b80..64485f36e482bf50b8fba7b510d2440f261731ef 100644 --- a/src/components/Autocomplete.vue +++ b/src/components/Autocomplete.vue @@ -132,9 +132,13 @@ update_lang_form(lang) { this.$emit('update-lang-form', lang) // Submit if switching on front page - if (this.search && !this.items[0]) { + if (this.search && this.search!=this.$route.query.q && !this.items[0]) { this.submit({q: this.search, match: this.search, time: Date.now()}) } + else { + this.$parent.reload_params() + } + }, get_lang() { return this.$parent.lang