@fluxhub/fluxhub-lib 10.0.149 → 10.0.151

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.
@@ -7710,6 +7710,7 @@ class FHGridComponent {
7710
7710
  }
7711
7711
  // console.log('Filter model');
7712
7712
  //console.log(params.filterModel);
7713
+ let p_fi = p.filter;
7713
7714
  if (params.filterModel != null) {
7714
7715
  // console.log('Filtri');
7715
7716
  for (let key in params.filterModel) {
@@ -7736,6 +7737,10 @@ class FHGridComponent {
7736
7737
  // }
7737
7738
  }
7738
7739
  }
7740
+ if (p.filter == '' || p_fi == p.filter)
7741
+ this.show_pulisci_filtri = false;
7742
+ else
7743
+ this.show_pulisci_filtri = true;
7739
7744
  //p.num_per_pag=5000;
7740
7745
  // console.log(this._gridservice);
7741
7746
  this.str_curr_q_p = "";
@@ -7744,11 +7749,7 @@ class FHGridComponent {
7744
7749
  if (p.sort_field != "")
7745
7750
  this.str_curr_q_p = this.str_curr_q_p + " order by " + p.sort_field;
7746
7751
  this.curr_filter = p.filter;
7747
- console.log('this.filters==p.filter ', this.filters, p.filter);
7748
- if (p.filter == '' || this.filters == p.filter)
7749
- this.show_pulisci_filtri = false;
7750
- else
7751
- this.show_pulisci_filtri = true;
7752
+ console.log('this.filter ', this.filters, ' p.filter ', p.filter);
7752
7753
  this._gridservice.doQuery(p, true, this.end_point).subscribe((data) => {
7753
7754
  let ok_op = false;
7754
7755
  if (data != null)