From 7fccd0c6286240c3ad56da092c567710836a62d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no>
Date: Thu, 27 Feb 2020 12:45:56 +0100
Subject: [PATCH] feilaktig underscore i en url

---
 src/App.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/App.vue b/src/App.vue
index faeb0ee..fa38a9a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -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}, '')
-- 
GitLab