Skip to content
Snippets Groups Projects
Commit bd6ba5e9 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

add scope to articles request

parent c22eb5b5
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,7 @@ import Menu from './Menu.vue' ...@@ -139,7 +139,7 @@ import Menu from './Menu.vue'
this.suggesting = true this.suggesting = true
if (!/[_*%|]/.test(q)) { if (!/[_*%|]/.test(q)) {
let self = this 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}) self.api.get('suggest?', {params})
.then(async (response) => { .then(async (response) => {
if (self.$refs.autocomplete.searchInput == q & self.suggesting) { if (self.$refs.autocomplete.searchInput == q & self.suggesting) {
......
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