-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
π bugAny issue that describes a bugAny issue that describes a bugβ
status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
If there is filtering operand in the queryBuilder expression tree and ignoreCase is not explicitly set, the /QueryBuilder/ExecuteQuery endpoint ignores the operand.
Request with this expression tree returns 29 records:
const tree = new FilteringExpressionsTree(0, undefined, 'Suppliers', ['supplierId']);
tree.filteringOperands.push({
fieldName: 'supplierId',
conditionName: IgxNumberFilteringOperand.instance().condition('equals').name,
searchVal: 5,
});
If we add ignoreCase then there is only a single record:
const tree = new FilteringExpressionsTree(0, undefined, 'Suppliers', ['supplierId']);
tree.filteringOperands.push({
fieldName: 'supplierId',
conditionName: IgxNumberFilteringOperand.instance().condition('equals').name,
searchVal: 5,
ignoreCase: true
});
Metadata
Metadata
Assignees
Labels
π bugAny issue that describes a bugAny issue that describes a bugβ
status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.Applies to issues that have pending PRs resolving them, or PRs that have already merged.