@fluxhub/fluxhub-lib 9.0.111 → 9.0.112

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.
@@ -5345,7 +5345,6 @@
5345
5345
  }
5346
5346
  if (obj_filtro.dateTo != null || obj_filtro.dateFrom != null) {
5347
5347
  b_filter = true;
5348
- console.log('ENTRO: ', obj_filtro.dateFrom, obj_filtro.type, 'conv: ', this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5)));
5349
5348
  if (add_end)
5350
5349
  filter_v = filter_v + ' and ';
5351
5350
  filter_v = filter_v + ' (';
@@ -5369,7 +5368,6 @@
5369
5368
  q = ' ' + key + ' <= ' + this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5)) + '';
5370
5369
  if (obj_filtro.type == "greaterThanOrEqual")
5371
5370
  q = ' ' + key + ' >= ' + this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5)) + '';
5372
- console.log('LOG DT: ', obj_filtro, ' -> ', q);
5373
5371
  filter_v = filter_v + q;
5374
5372
  }
5375
5373
  else
@@ -5379,7 +5377,7 @@
5379
5377
  }
5380
5378
  else {
5381
5379
  // if(obj_filtro.length>0)filter_v= filter_v+' and ';
5382
- var sq = "";
5380
+ var sq = '';
5383
5381
  if (obj_filtro.values != null)
5384
5382
  for (var i = 0; i < obj_filtro.values.length; i++)
5385
5383
  if (obj_filtro.values[i] != null) {
@@ -5397,6 +5395,8 @@
5397
5395
  b_filter = true;
5398
5396
  if (filter_v != "")
5399
5397
  filter_v = filter_v + ' and 1=0';
5398
+ else
5399
+ filter_v = filter_v + ' 1=0';
5400
5400
  }
5401
5401
  }
5402
5402
  this.show_pulisci_filtri = b_filter;