@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
|
@@ -312,7 +312,7 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
|
|
|
312
312
|
categories.push(columns[i].category);
|
|
313
313
|
}
|
|
314
314
|
if (!columns[i].operators ||
|
|
315
|
-
(this.isLocale && this.isCustomOprCols.indexOf(columns[i].field)
|
|
315
|
+
(this.isLocale && this.isCustomOprCols.indexOf(columns[i].field) === -1)) {
|
|
316
316
|
columns[i].operators = this.customOperators[columns[i].type + 'Operator'];
|
|
317
317
|
}
|
|
318
318
|
}
|
|
@@ -352,8 +352,9 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
|
|
|
352
352
|
else {
|
|
353
353
|
columns[i].category = this.l10n.getConstant('OtherFields');
|
|
354
354
|
}
|
|
355
|
-
this.updateCustomOperator(columns[i]);
|
|
356
|
-
if (!columns[i].operators ||
|
|
355
|
+
this.updateCustomOperator(columns[i], 'initial');
|
|
356
|
+
if (!columns[i].operators ||
|
|
357
|
+
(this.isLocale && this.isCustomOprCols.indexOf(columns[i].field) === -1)) {
|
|
357
358
|
columns[i].operators = this.customOperators[columns[i].type + 'Operator'];
|
|
358
359
|
}
|
|
359
360
|
}
|