@fluxhub/fluxhub-lib 10.0.516 → 10.0.518

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.
@@ -5619,10 +5619,16 @@
5619
5619
  }
5620
5620
  else {
5621
5621
  _this.loading_fulltext = true;
5622
+ var filter_x = '';
5623
+ if (p.filter != '')
5624
+ filter_x = ' and (' + p.filter + ')';
5622
5625
  var px = new QParam();
5623
5626
  px.sql = _this.over_fulltext_sql;
5624
- px.types = ['string', 'string'];
5625
- px.values = [_this.ric_libera, p.sort_field];
5627
+ console.log('JSON.stringify(params.filterModel) ', JSON.stringify(params.filterModel));
5628
+ if (JSON.stringify(params.filterModel) == '{}')
5629
+ px.sql = _this.over_fulltext_sql + '_FT';
5630
+ px.types = ['string', 'string', 'string'];
5631
+ px.values = [_this.ric_libera, p.sort_field, filter_x];
5626
5632
  _this.over_fulltext_types.map(function (v) { px.types.push(v); });
5627
5633
  _this.over_fulltext_values.map(function (v) { px.values.push(v); });
5628
5634
  _this._dataService.doQuery(px).subscribe(function (data) {