@fluxhub/fluxhub-lib 10.0.345 → 10.0.347

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) {
@@ -8514,12 +8515,16 @@ class FHGridComponent {
8514
8515
  }
8515
8516
  }
8516
8517
  else {
8517
- console.log('like_f ', like_f);
8518
- b_filter = true;
8519
- filter_v = filter_v + " and ";
8520
- filter_v = filter_v + "(" + like_f + ")";
8518
+ if (like_f != '') {
8519
+ console.log('like_f ', like_f);
8520
+ b_filter = true;
8521
+ if (add_end)
8522
+ filter_v = filter_v + " and ";
8523
+ filter_v = filter_v + "(" + like_f + ")";
8524
+ }
8521
8525
  }
8522
8526
  }
8527
+ console.log('return filter_v ', filter_v);
8523
8528
  return filter_v;
8524
8529
  }
8525
8530
  onBtExport() {