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

feilaktig underscore i en url

parent 657b55d4
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ export default {
self.article = {lemmas: [], body:{pronunciation: [], definitions: [], etymology: []}}
axios.get(api_endpoint + '/' + self.lang + '/_search?q=' + event.q)
.then(function(response){
self.$router.push('/' + self.lang + '/_search?q=' + event.q)
self.$router.push('/' + self.lang + '/search?q=' + event.q)
self.search_results = response.data.hits.hits
self.waiting = false
history.replaceState({article: self.article, search_results: self.search_results, lang: self.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