search should find notes in hidden subtree when hoisted into it

This commit is contained in:
zadam
2022-12-23 14:02:18 +01:00
parent 7147cc267e
commit 3804d2df8c
9 changed files with 15 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ class NoteFlatTextExp extends Expression {
this.tokens = tokens;
}
execute(inputNoteSet, executionContext) {
execute(inputNoteSet, executionContext, searchContext) {
// has deps on SQL which breaks unit test so needs to be dynamically required
const beccaService = require('../../../becca/becca_service');
const resultNoteSet = new NoteSet();