fixed search API and its default settings to include archived notes

This commit is contained in:
zadam
2020-09-07 22:11:16 +02:00
parent 69e36d2677
commit 75c9db6432
6 changed files with 40 additions and 51 deletions

View File

@@ -162,7 +162,7 @@ export default class Entrypoints extends Component {
}
async searchForResultsCommand({searchText}) {
const response = await server.get('search/' + encodeURIComponent(searchText));
const response = await server.get('search/' + encodeURIComponent(searchText) + '?includeNoteContent=true&excludeArchived=true&fuzzyAttributeSearch=false');
if (!response.success) {
toastService.showError("Search failed.", 3000);