1
0
mirror of synced 2024-11-30 08:36:03 +03:00
This commit is contained in:
Kevin Warrington 2012-10-22 17:00:03 -06:00
parent 6e64336af1
commit 77ea616d0c

View File

@ -380,7 +380,7 @@ the specific language governing permissions and limitations under the Apache Lic
} }
group.children=[]; group.children=[];
$(datum.children).each2(function(i, childDatum) { process(childDatum, group.children); }); $(datum.children).each2(function(i, childDatum) { process(childDatum, group.children); });
if (group.children.length) { if (group.children.length || query.matcher(t, text(group))) {
collection.push(group); collection.push(group);
} }
} else { } else {