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

Merge branch 'hotfix-dropdown-length' into 'prod'

more suggestions in dropdown

See merge request spraksamlingane/beta.ordbok.uib.no!144
parents 0cbfebbd 2d36e806
No related branches found
No related tags found
No related merge requests found
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
this.suggesting = true this.suggesting = true
let self = this let self = this
let params = {q, dict: self.get_lang(), n: 6, dform: 'int', meta: 'n', include: "e", wc: self.$parent.pos_selected} let params = {q, dict: self.get_lang(), n: 20, dform: 'int', meta: 'n', include: "e", wc: self.$parent.pos_selected}
this.$parent.api.get('api/suggest?', {params}) this.$parent.api.get('api/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