Skip to content

Commit

Permalink
fix(ESF): return correctly if filtering is applied on a column #14188
Browse files Browse the repository at this point in the history
  • Loading branch information
ddincheva committed Jun 25, 2024
1 parent 370553f commit c421b96
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,10 @@ export class FilteringExpressionsTree implements IFilteringExpressionsTree {
for (const expr of expressionsTree.filteringOperands) {
if ((expr instanceof FilteringExpressionsTree)) {
return this.isFilteringExpressionsTreeForColumn(expr, fieldName);
} else {
return (expr as IFilteringExpression).fieldName === fieldName;
} else if ((expr as IFilteringExpression).fieldName === fieldName) {
return true;
}
}

return false;
}
}

0 comments on commit c421b96

Please sign in to comment.