Skip to content
Snippets Groups Projects
Commit 317663ad authored by Henrik Askjer's avatar Henrik Askjer
Browse files

fix routing bug

parent 9f80e169
No related branches found
No related tags found
No related merge requests found
......@@ -241,8 +241,9 @@ export default {
let name
let query
if (this.$route.name == 'query') {
let path = this.lang + "/search"
let path = `/${this.lang}/search`
query = {q: this.$route.query.q, pos: this.pos_param(), scope: this.scope}
console.log(query.q)
this.$router.push(path, query)
navigate_to_query(this, query.q)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment