From 4a06fabeaad281a7ff7f23f625a81efbe8ae8beb Mon Sep 17 00:00:00 2001 From: "Henrik.Askjer" <henrik.askjer@uib.no> Date: Mon, 30 Aug 2021 11:07:38 +0200 Subject: [PATCH] Remove sorting --- 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 4a0a8cfc..d5881543 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -205,7 +205,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(decodeURIComponent(event.word))).map(a => Object.assign(a, {source: source})) + this.search_results = event.articles.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