@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.
@@ -5141,6 +5141,7 @@
5141
5141
  }
5142
5142
  // console.log('Filter model');
5143
5143
  //console.log(params.filterModel);
5144
+ var p_fi = p.filter;
5144
5145
  if (params.filterModel != null) {
5145
5146
  // console.log('Filtri');
5146
5147
  for (var key in params.filterModel) {
@@ -5167,6 +5168,10 @@
5167
5168
  // }
5168
5169
  }
5169
5170
  }
5171
+ if (p.filter == '' || p_fi == p.filter)
5172
+ _this.show_pulisci_filtri = false;
5173
+ else
5174
+ _this.show_pulisci_filtri = true;
5170
5175
  //p.num_per_pag=5000;
5171
5176
  // console.log(this._gridservice);
5172
5177
  _this.str_curr_q_p = "";
@@ -5175,11 +5180,7 @@
5175
5180
  if (p.sort_field != "")
5176
5181
  _this.str_curr_q_p = _this.str_curr_q_p + " order by " + p.sort_field;
5177
5182
  _this.curr_filter = p.filter;
5178
- console.log('this.filters==p.filter ', _this.filters, p.filter);
5179
- if (p.filter == '' || _this.filters == p.filter)
5180
- _this.show_pulisci_filtri = false;
5181
- else
5182
- _this.show_pulisci_filtri = true;
5183
+ console.log('this.filter ', _this.filters, ' p.filter ', p.filter);
5183
5184
  _this._gridservice.doQuery(p, true, _this.end_point).subscribe(function (data) {
5184
5185
  var ok_op = false;
5185
5186
  if (data != null)