@syncfusion/ej2-querybuilder 27.1.52 → 27.1.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-querybuilder.min.js +2 -2
- package/dist/ej2-querybuilder.umd.min.js +2 -2
- package/dist/ej2-querybuilder.umd.min.js.map +1 -1
- package/dist/es6/ej2-querybuilder.es2015.js +4 -3
- package/dist/es6/ej2-querybuilder.es2015.js.map +1 -1
- package/dist/es6/ej2-querybuilder.es5.js +4 -3
- package/dist/es6/ej2-querybuilder.es5.js.map +1 -1
- package/dist/global/ej2-querybuilder.min.js +2 -2
- package/dist/global/ej2-querybuilder.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -10
- package/src/query-builder/query-builder.js +4 -3
|
@@ -266,7 +266,7 @@ let QueryBuilder = class QueryBuilder extends Component {
|
|
|
266
266
|
categories.push(columns[i].category);
|
|
267
267
|
}
|
|
268
268
|
if (!columns[i].operators ||
|
|
269
|
-
(this.isLocale && this.isCustomOprCols.indexOf(columns[i].field)
|
|
269
|
+
(this.isLocale && this.isCustomOprCols.indexOf(columns[i].field) === -1)) {
|
|
270
270
|
columns[i].operators = this.customOperators[columns[i].type + 'Operator'];
|
|
271
271
|
}
|
|
272
272
|
}
|
|
@@ -306,8 +306,9 @@ let QueryBuilder = class QueryBuilder extends Component {
|
|
|
306
306
|
else {
|
|
307
307
|
columns[i].category = this.l10n.getConstant('OtherFields');
|
|
308
308
|
}
|
|
309
|
-
this.updateCustomOperator(columns[i]);
|
|
310
|
-
if (!columns[i].operators ||
|
|
309
|
+
this.updateCustomOperator(columns[i], 'initial');
|
|
310
|
+
if (!columns[i].operators ||
|
|
311
|
+
(this.isLocale && this.isCustomOprCols.indexOf(columns[i].field) === -1)) {
|
|
311
312
|
columns[i].operators = this.customOperators[columns[i].type + 'Operator'];
|
|
312
313
|
}
|
|
313
314
|
}
|