From 19b413f0c7fdbb3908be8f9d8b3df708c4bf93bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no>
Date: Wed, 7 Apr 2021 10:40:05 +0200
Subject: [PATCH] =?UTF-8?q?re=20meta#318=20sortering=20p=C3=A5=20homografn?=
 =?UTF-8?q?ummer=20feilet?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue
index c5ab0176..4866ab5f 100644
--- a/src/components/DictionaryView.vue
+++ b/src/components/DictionaryView.vue
@@ -194,7 +194,7 @@ export default {
       if(event.articles){
         let source = '/' + this.lang + '/w/' + event.word
         this.$router.push(source)
-        this.search_results = event.articles.sort(compare_by_hgno(event.word)).map(a => Object.assign(a, {source: source}))
+        this.search_results = event.articles.sort(compare_by_hgno(decodeURIComponent(event.word))).map(a => Object.assign(a, {source: source}))
         this.article = null
         this.error = null
         history.replaceState({article: this.article, search_results: this.search_results, lang: this.lang, error: this.error}, '')
-- 
GitLab