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

add pos parameter when selecting search result

parent e28af7c4
No related branches found
No related tags found
No related merge requests found
...@@ -321,7 +321,7 @@ export default { ...@@ -321,7 +321,7 @@ export default {
select_result: function (event) { select_result: function (event) {
this.event = event this.event = event
let name = event.search ? 'search' : 'w' let name = event.search ? 'search' : 'w'
let route = `/${this.lang}/${name}/${event.match || event.q}` let route = `/${this.lang}/${name}/${event.match || event.q}${this.pos_param()}`
this.$router.push(route) this.$router.push(route)
navigate_to_query(this) navigate_to_query(this)
......
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