@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.
@@ -5994,8 +5994,7 @@
5994
5994
  if (add_end)
5995
5995
  filter_v = filter_v + ' and ';
5996
5996
  filter_v = filter_v + ' (';
5997
- if (obj_filtro.dateFrom != null && obj_filtro.dateTo != null && this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5)) != 'dbnull')
5998
- filter_v = filter_v + key + ">=" + this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateFrom, 5));
5997
+ // 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));
5999
5998
  if (obj_filtro.dateTo != null && this.uti_s.sql_date_grid(this.uti_s.string2date(obj_filtro.dateTo, 5)) != 'dbnull') {
6000
5999
  if (obj_filtro.dateFrom != null)
6001
6000
  filter_v = filter_v + ' and ';
@@ -6018,6 +6017,8 @@
6018
6017
  console.log('LOG DT: ', obj_filtro, ' -> ', q);
6019
6018
  filter_v = filter_v + q;
6020
6019
  }
6020
+ else
6021
+ filter_v = filter_v + '1=1';
6021
6022
  filter_v = filter_v + ' )';
6022
6023
  }
6023
6024
  }