1
0
mirror of synced 2024-11-26 23:06:02 +03:00

Merge pull request #518 from dubbs/patch-1

fix issue #517
This commit is contained in:
Igor Vaynberg 2012-10-22 19:21:00 -07:00
commit b3b75a8c3a

View File

@ -380,7 +380,7 @@ the specific language governing permissions and limitations under the Apache Lic
}
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);
}
} else {