@fluxhub/fluxhub-lib 10.0.344 → 10.0.346

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.
@@ -8280,6 +8280,7 @@ class FHGridComponent {
8280
8280
  });
8281
8281
  }
8282
8282
  calcola_filtro(obj_filtro, filter_v, key, add_end = true) {
8283
+ console.log('calcola_filtro ', key, add_end);
8283
8284
  let b_filter = false;
8284
8285
  if (obj_filtro.type != null) {
8285
8286
  if (obj_filtro.filter != null) {
@@ -8474,7 +8475,7 @@ class FHGridComponent {
8474
8475
  key +
8475
8476
  ") like '%" +
8476
8477
  obj_filtro.values[i].replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase() +
8477
- "' ESCAPE '$'";
8478
+ "%' ESCAPE '$'";
8478
8479
  }
8479
8480
  else {
8480
8481
  include_null_value = true;
@@ -8516,9 +8517,12 @@ class FHGridComponent {
8516
8517
  else {
8517
8518
  console.log('like_f ', like_f);
8518
8519
  b_filter = true;
8520
+ if (add_end)
8521
+ filter_v = filter_v + " and ";
8519
8522
  filter_v = filter_v + "(" + like_f + ")";
8520
8523
  }
8521
8524
  }
8525
+ console.log('return filter_v ', filter_v);
8522
8526
  return filter_v;
8523
8527
  }
8524
8528
  onBtExport() {