|
|
@ -627,6 +627,9 @@ BI.AbstractTreeValueChooser = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
_isMatch: function (parentValues, value, keyword) { |
|
|
|
_isMatch: function (parentValues, value, keyword) { |
|
|
|
var node = this._getTreeNode(parentValues, value); |
|
|
|
var node = this._getTreeNode(parentValues, value); |
|
|
|
|
|
|
|
if (!node) { |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
var find = BI.Func.getSearchResult([node.text || node.value], keyword); |
|
|
|
var find = BI.Func.getSearchResult([node.text || node.value], keyword); |
|
|
|
return find.find.length > 0 || find.match.length > 0; |
|
|
|
return find.find.length > 0 || find.match.length > 0; |
|
|
|
}, |
|
|
|
}, |
|
|
|