@webtypen/webframez-core 0.2.54 → 0.2.56
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.
|
@@ -335,6 +335,7 @@ class Datatable {
|
|
|
335
335
|
continue;
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
|
+
// Handle type
|
|
338
339
|
const tempType = filterEl && filterEl.type ? filterEl.type : entryType;
|
|
339
340
|
// Handle integer/float range
|
|
340
341
|
if ((tempType === "integer-range" ||
|
|
@@ -376,7 +377,7 @@ class Datatable {
|
|
|
376
377
|
else if (valueClean.startsWith(">")) {
|
|
377
378
|
const val = valueClean.replace(">", "").trim();
|
|
378
379
|
out[mappingKey] = {
|
|
379
|
-
$gt: cleanVal,
|
|
380
|
+
$gt: cleanVal(val),
|
|
380
381
|
};
|
|
381
382
|
}
|
|
382
383
|
else if (valueClean.startsWith("!=")) {
|
package/package.json
CHANGED
|
@@ -346,7 +346,9 @@ export class Datatable {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
+
// Handle type
|
|
349
350
|
const tempType = filterEl && filterEl.type ? filterEl.type : entryType;
|
|
351
|
+
|
|
350
352
|
// Handle integer/float range
|
|
351
353
|
if (
|
|
352
354
|
(tempType === "integer-range" ||
|
|
@@ -392,7 +394,7 @@ export class Datatable {
|
|
|
392
394
|
const val = valueClean.replace(">", "").trim();
|
|
393
395
|
|
|
394
396
|
out[mappingKey] = {
|
|
395
|
-
$gt: cleanVal,
|
|
397
|
+
$gt: cleanVal(val),
|
|
396
398
|
};
|
|
397
399
|
} else if (valueClean.startsWith("!=")) {
|
|
398
400
|
const val = valueClean.replace("!=", "").trim();
|