mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
added querying by relation's properties
This commit is contained in:
@@ -11,7 +11,7 @@ class NoteCacheFulltextExp extends Expression {
|
||||
this.tokens = tokens;
|
||||
}
|
||||
|
||||
execute(noteSet, searchContext) {
|
||||
execute(inputNoteSet, searchContext) {
|
||||
// has deps on SQL which breaks unit test so needs to be dynamically required
|
||||
const noteCacheService = require('../../note_cache/note_cache_service');
|
||||
const resultNoteSet = new NoteSet();
|
||||
@@ -66,7 +66,7 @@ class NoteCacheFulltextExp extends Expression {
|
||||
}
|
||||
}
|
||||
|
||||
const candidateNotes = this.getCandidateNotes(noteSet);
|
||||
const candidateNotes = this.getCandidateNotes(inputNoteSet);
|
||||
|
||||
for (const note of candidateNotes) {
|
||||
// autocomplete should be able to find notes by their noteIds as well (only leafs)
|
||||
|
||||
Reference in New Issue
Block a user