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

allow suggest in truncated search

parent 1a71b006
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,7 @@
}
this.suggesting = true
if (!/[_*%|]/.test(q)) {
let self = this
let params = {q, dict: self.get_lang(), n: 6, dform: 'int', meta: 'n', include: "e", wc: self.$parent.pos_selected}
self.api.get('suggest?', {params})
......@@ -175,10 +175,7 @@
}
})
}
else {
this.items = [{q, match: q, time}]
}
},
......
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