Fix search indexing of group nodes

This commit is contained in:
Nick O'Leary 2020-06-14 22:46:46 +01:00
parent 61d9ccf263
commit 2d0ca20a03
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ RED.search = (function() {
}
for (var i=0;i<properties.length;i++) {
if (n.hasOwnProperty(properties[i])) {
if (n.type === "group" && properties[i] === "nodes") {
continue;
}
indexProperty(n, l, n[properties[i]]);
}
}