@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.
@@ -5861,8 +5861,7 @@ var FHGridComponent = /** @class */ (function () {
5861
5861
  if (add_end)
5862
5862
  filter_v = filter_v + ' and ';
5863
5863
  filter_v = filter_v + ' (';
5864
- if (obj_filtro.dateFrom != null && obj_filtro.dateTo != null && this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5)) != 'dbnull')
5865
- filter_v = filter_v + key + ">=" + this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5));
5864
+ // 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));
5866
5865
  if (obj_filtro.dateTo != null && this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateTo, 5)) != 'dbnull') {
5867
5866
  if (obj_filtro.dateFrom != null)
5868
5867
  filter_v = filter_v + ' and ';
@@ -5885,6 +5884,8 @@ var FHGridComponent = /** @class */ (function () {
5885
5884
  console.log('LOG DT: ', obj_filtro, ' -> ', q);
5886
5885
  filter_v = filter_v + q;
5887
5886
  }
5887
+ else
5888
+ filter_v = filter_v + '1=1';
5888
5889
  filter_v = filter_v + ' )';
5889
5890
  }
5890
5891
  }