We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bc4a2c5 + 34521d0 commit 0804ea1Copy full SHA for 0804ea1
src/foam/u2/search/TextSearchView.js
@@ -154,7 +154,7 @@ foam.CLASS({
154
}
155
// TODO: dont think we ever use anything other than richSearch, maybe remove the boolean and only perform richSearch
156
if ( this.richSearch ) {
157
- var mql = this.queryParser.parseString(value);
+ var mql = value.indexOf(':') != -1 && this.queryParser.parseString(value);
158
if ( this.searchMode === this.SearchMode.MQL || mql ) {
159
this.predicate = mql || this.FALSE;
160
} else {
0 commit comments