From bd6ba5e92a7680e9d748cac282689df8dae14d78 Mon Sep 17 00:00:00 2001 From: Henrik Askjer <henrik.askjer@uib.no> Date: Tue, 21 Dec 2021 15:35:30 +0100 Subject: [PATCH] add scope to articles request --- src/components/Autocomplete.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Autocomplete.vue b/src/components/Autocomplete.vue index fbc1717b..7d4ca1ed 100644 --- a/src/components/Autocomplete.vue +++ b/src/components/Autocomplete.vue @@ -139,7 +139,7 @@ import Menu from './Menu.vue' this.suggesting = true if (!/[_*%|]/.test(q)) { let self = this - let params = {q, dict: self.get_lang(), n: 6, dform: 'int', meta: 'n'} + let params = {q, dict: self.get_lang(), n: 6, dform: 'int', meta: 'n', scope: "wb"} self.api.get('suggest?', {params}) .then(async (response) => { if (self.$refs.autocomplete.searchInput == q & self.suggesting) { -- GitLab