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

@@ -13,7 +13,7 @@ class AttributeExistsExp extends Expression {
this.prefixMatch = prefixMatch;
}
execute(inputNoteSet) {
execute(inputNoteSet, executionContext, searchContext) {
const attrs = this.prefixMatch
? becca.findAttributesWithPrefix(this.attributeType, this.attributeName)
: becca.findAttributes(this.attributeType, this.attributeName);