@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.
@@ -6355,10 +6355,16 @@ class FHGridComponent {
6355
6355
  }
6356
6356
  else {
6357
6357
  this.loading_fulltext = true;
6358
+ let filter_x = '';
6359
+ if (p.filter != '')
6360
+ filter_x = ' and (' + p.filter + ')';
6358
6361
  var px = new QParam();
6359
6362
  px.sql = this.over_fulltext_sql;
6360
- px.types = ['string', 'string'];
6361
- px.values = [this.ric_libera, p.sort_field];
6363
+ console.log('JSON.stringify(params.filterModel) ', JSON.stringify(params.filterModel));
6364
+ if (JSON.stringify(params.filterModel) == '{}')
6365
+ px.sql = this.over_fulltext_sql + '_FT';
6366
+ px.types = ['string', 'string', 'string'];
6367
+ px.values = [this.ric_libera, p.sort_field, filter_x];
6362
6368
  this.over_fulltext_types.map((v) => { px.types.push(v); });
6363
6369
  this.over_fulltext_values.map((v) => { px.values.push(v); });
6364
6370
  this._dataService.doQuery(px).subscribe((data) => {