@fluxhub/fluxhub-lib 9.0.72 → 9.0.74

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.
@@ -6448,8 +6448,7 @@ let FHGridComponent = class FHGridComponent {
6448
6448
  if (add_end)
6449
6449
  filter_v = filter_v + ' and ';
6450
6450
  filter_v = filter_v + ' (';
6451
- if (obj_filtro.dateFrom != null && obj_filtro.dateTo != null && this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5)) != 'dbnull')
6452
- filter_v = filter_v + key + ">=" + this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5));
6451
+ // if (obj_filtro.dateFrom != null && obj_filtro.dateTo != null && this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5))!='dbnull') filter_v = filter_v + key + ">=" + this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5));
6453
6452
  if (obj_filtro.dateTo != null && this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateTo, 5)) != 'dbnull') {
6454
6453
  if (obj_filtro.dateFrom != null)
6455
6454
  filter_v = filter_v + ' and ';
@@ -6472,6 +6471,8 @@ let FHGridComponent = class FHGridComponent {
6472
6471
  console.log('LOG DT: ', obj_filtro, ' -> ', q);
6473
6472
  filter_v = filter_v + q;
6474
6473
  }
6474
+ else
6475
+ filter_v = filter_v + '1=1';
6475
6476
  filter_v = filter_v + ' )';
6476
6477
  }
6477
6478
  }