You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-05 22:57:29 +02:00
All: Search: More multi-language support, and started updating mobile app
This commit is contained in:
@@ -298,9 +298,9 @@ class SearchEngine {
|
||||
}
|
||||
|
||||
if (term.indexOf('*') >= 0) {
|
||||
terms[col][i] = { type: 'regex', value: this.queryTermToRegex(term), scriptType: scriptType(term), originalValue: term };
|
||||
terms[col][i] = { type: 'regex', value: term, scriptType: scriptType(term), valueRegex: this.queryTermToRegex(term) };
|
||||
} else {
|
||||
terms[col][i] = { type: 'text', value: term, scriptType: scriptType(term), originalValue: term };
|
||||
terms[col][i] = { type: 'text', value: term, scriptType: scriptType(term) };
|
||||
}
|
||||
}
|
||||
|
||||
@@ -373,18 +373,6 @@ class SearchEngine {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static runInBackground() {
|
||||
if (this.isRunningInBackground_) return;
|
||||
|
||||
this.isRunningInBackground_ = true;
|
||||
|
||||
this.instance().syncTables();
|
||||
|
||||
setTimeout(() => {
|
||||
this.instance().syncTables();
|
||||
}, 1000 * 60 * 5);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user