@webtypen/webframez-core 0.2.63 → 0.2.65
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.
|
@@ -291,7 +291,7 @@ class Datatable {
|
|
|
291
291
|
value = true;
|
|
292
292
|
}
|
|
293
293
|
else if (entry.value === "false") {
|
|
294
|
-
value =
|
|
294
|
+
value = { $ne: true };
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
else if (valueClean) {
|
|
@@ -523,7 +523,7 @@ class Datatable {
|
|
|
523
523
|
value = parseFloat(value);
|
|
524
524
|
}
|
|
525
525
|
else if (filterEl.cast === "boolean") {
|
|
526
|
-
value = value === true || value === 1 || value.toString() === "1" || value.toString() === "true" ? true :
|
|
526
|
+
value = value === true || value === 1 || value.toString() === "1" || value.toString() === "true" ? true : { $ne: true };
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
if (value !== undefined) {
|
package/package.json
CHANGED
|
@@ -297,9 +297,9 @@ export class Datatable {
|
|
|
297
297
|
if (entry.value === "true") {
|
|
298
298
|
value = true;
|
|
299
299
|
} else if (entry.value === "false") {
|
|
300
|
-
value =
|
|
300
|
+
value = { $ne: true };
|
|
301
301
|
}
|
|
302
|
-
} else if(valueClean) {
|
|
302
|
+
} else if (valueClean) {
|
|
303
303
|
if (valueClean.toString().trim() === "==null") {
|
|
304
304
|
value = null;
|
|
305
305
|
} else if (valueClean.toString().trim() === "!=null") {
|
|
@@ -522,7 +522,7 @@ export class Datatable {
|
|
|
522
522
|
} else if (filterEl.cast === "float") {
|
|
523
523
|
value = parseFloat(value);
|
|
524
524
|
} else if (filterEl.cast === "boolean") {
|
|
525
|
-
value = value === true || value === 1 || value.toString() === "1" || value.toString() === "true" ? true :
|
|
525
|
+
value = value === true || value === 1 || value.toString() === "1" || value.toString() === "true" ? true : { $ne: true };
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
|