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

Merge branch 'prod' of git.app.uib.no:spraksamlingane/beta.ordbok.uib.no into dev

parents 767c6704 3d644f3d
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@
var search = 0
if (this.items[0]) {
if (this.items[0].time < time) {
if (/_|\*|\|/.test(q)) {
if (/[_*%|]/.test(q)) {
search = 2
}
// Whitespace necessary in case option already exists in dropdown
......@@ -105,7 +105,7 @@
let suggestions = response.data.a.w.map(item => ({q: q, match: item[0], label: item[0], time: time, lang: item[1]}))
if (/_|\*|\|/.test(q)) {
if (/[_*%|]/.test(q)) {
suggestions.unshift({q: q, label: q, time: time, search: 2})
}
......
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