disable caching of note autocomplete for more accurate results

This commit is contained in:
zadam
2019-02-17 20:59:52 +01:00
parent c1ce0c6b22
commit 9f29521ab8
2 changed files with 4 additions and 1 deletions

View File

@@ -92,7 +92,9 @@ function initNoteAutocomplete($el, options) {
suggestion: function(suggestion) {
return suggestion.highlighted;
}
}
},
// we can't cache identical searches because notes can be created / renamed, new recent notes can be added
cache: false
}
]);