@webtypen/webframez-core 0.2.48 → 0.2.49

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.
@@ -337,7 +337,7 @@ class Datatable {
337
337
  const range = valueClean.split("-");
338
338
  const min = range[0].toString().replace(",", ".");
339
339
  const max = range[1].toString().replace(",", ".");
340
- value = {
340
+ out[filterEl && filterEl.mapping && filterEl.mapping.trim() !== "" ? filterEl.mapping : key] = {
341
341
  $gte: filterEl.type === "float-range" ? parseFloat(min) : parseInt(min),
342
342
  $lte: filterEl.type === "float-range" ? parseFloat(max) : parseInt(max),
343
343
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webtypen/webframez-core",
3
- "version": "0.2.48",
3
+ "version": "0.2.49",
4
4
  "description": "The core package of the typescript based webframez (web-framework) by webtypen.de",
5
5
  "homepage": "https://webtypen.de/",
6
6
  "license": "MIT",
@@ -352,7 +352,7 @@ export class Datatable {
352
352
  const min = range[0].toString().replace(",", ".");
353
353
  const max = range[1].toString().replace(",", ".");
354
354
 
355
- value = {
355
+ out[filterEl && filterEl.mapping && filterEl.mapping.trim() !== "" ? filterEl.mapping : key] = {
356
356
  $gte: filterEl.type === "float-range" ? parseFloat(min) : parseInt(min),
357
357
  $lte: filterEl.type === "float-range" ? parseFloat(max) : parseInt(max),
358
358
  };