Skip to content
Snippets Groups Projects
Commit e61617fc authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

bruk språkkode fra treff (tospråklig søk)

parent d4c57ba9
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ export default {
this.$refs.search.value = ''
document.activeElement.blur()
if(event._source){
this.$router.push('/' + this.lang + '/' + event._id)
this.$router.push('/' + event._index + '/' + event._id)
this.search_results = []
this.article = event._source
history.replaceState({article: this.article, search_results: this.search_results, lang: this.lang}, '')
......
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