@fluxhub/fluxhub-lib 1.0.426 → 1.0.427

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.
@@ -7212,14 +7212,14 @@ var FHGridComponent = /** @class */ (function () {
7212
7212
  if (add_end)
7213
7213
  filter_v = filter_v + ' and ';
7214
7214
  filter_v = filter_v + ' (';
7215
- if (obj_filtro.dateFrom != null && obj_filtro.dateTo != null)
7216
- filter_v = filter_v + key + ">=" + this.uti_s.sql_date(this.uti_s.string2date(obj_filtro.dateFrom, 1)) + "";
7217
- if (obj_filtro.dateTo != null) {
7215
+ if (obj_filtro.dateFrom != null && obj_filtro.dateTo != null && this.uti_s.sql_date(this.uti_s.string2date(obj_filtro.dateFrom, 1)) != 'dbnull')
7216
+ filter_v = filter_v + key + ">=" + this.uti_s.sql_date(this.uti_s.string2date(obj_filtro.dateFrom, 1));
7217
+ if (obj_filtro.dateTo != null && this.uti_s.sql_date(this.uti_s.string2date(obj_filtro.dateTo, 1)) != 'dbnull') {
7218
7218
  if (obj_filtro.dateFrom != null)
7219
7219
  filter_v = filter_v + ' and ';
7220
7220
  filter_v = filter_v + key + "<=" + this.uti_s.sql_date(this.uti_s.string2date(obj_filtro.dateTo, 1)) + "";
7221
7221
  }
7222
- else if (obj_filtro.dateFrom != null) {
7222
+ else if (obj_filtro.dateFrom != null && this.uti_s.sql_date(this.uti_s.string2date(obj_filtro.dateFrom, 1)) != 'dbnull') {
7223
7223
  if (obj_filtro.type == "greaterThan")
7224
7224
  filter_v = filter_v + ' ' + key + ' >= ' + this.uti_s.sql_date(this.uti_s.string2date(obj_filtro.dateFrom, 1)) + '';
7225
7225
  if (obj_filtro.type == "equals")