commit
6da0f9820d
|
@ -580,9 +580,9 @@ export default {
|
||||||
//global
|
//global
|
||||||
if (this.hasGlobalFilter && !globalMatch) {
|
if (this.hasGlobalFilter && !globalMatch) {
|
||||||
let copyNodeForGlobal = {...copyNode};
|
let copyNodeForGlobal = {...copyNode};
|
||||||
let globalFilterValue = this.props.globalFilter;
|
let filterValue = this.filters['global'];
|
||||||
let globalFilterConstraint = FilterUtils['contains'];
|
let filterConstraint = FilterUtils['contains'];
|
||||||
let globalFilterParamsWithoutNode = {filterField, globalFilterValue, globalFilterConstraint, strict};
|
let globalFilterParamsWithoutNode = {filterField, filterValue, filterConstraint, strict};
|
||||||
|
|
||||||
if ((strict && (this.findFilteredNodes(copyNodeForGlobal, globalFilterParamsWithoutNode) || this.isFilterMatched(copyNodeForGlobal, globalFilterParamsWithoutNode))) ||
|
if ((strict && (this.findFilteredNodes(copyNodeForGlobal, globalFilterParamsWithoutNode) || this.isFilterMatched(copyNodeForGlobal, globalFilterParamsWithoutNode))) ||
|
||||||
(!strict && (this.isFilterMatched(copyNodeForGlobal, globalFilterParamsWithoutNode) || this.findFilteredNodes(copyNodeForGlobal, globalFilterParamsWithoutNode)))) {
|
(!strict && (this.isFilterMatched(copyNodeForGlobal, globalFilterParamsWithoutNode) || this.findFilteredNodes(copyNodeForGlobal, globalFilterParamsWithoutNode)))) {
|
||||||
|
|
Loading…
Reference in New Issue