mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 08:16:40 +01:00
refactoring
This commit is contained in:
@@ -138,7 +138,7 @@ function BackendScriptApi(currentNote, apiParams) {
|
||||
searchParams.ignoreHoistedNote = true;
|
||||
}
|
||||
|
||||
const noteIds = searchService.findNotesWithQuery(query, new SearchContext(searchParams))
|
||||
const noteIds = searchService.findResultsWithQuery(query, new SearchContext(searchParams))
|
||||
.map(sr => sr.noteId);
|
||||
|
||||
return repository.getNotes(noteIds);
|
||||
|
||||
Reference in New Issue
Block a user