@universis/ngx-tables 6.13.7 → 6.13.8

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.
@@ -23,7 +23,7 @@ import { ProgressbarModule } from 'ngx-bootstrap/progressbar';
23
23
  import { GroupByPipe, NgPipesModule } from 'ngx-pipes';
24
24
  import { template, at, cloneDeep, isEmpty } from 'lodash';
25
25
  import { __extends, __awaiter, __generator, __values, __assign, __spread } from 'tslib';
26
- import { Injectable, Directive, Optional, Input, Component, ElementRef, ViewChild, ViewEncapsulation, EventEmitter, Output, Pipe, NgModule, CUSTOM_ELEMENTS_SCHEMA, HostListener, defineInjectable, ChangeDetectorRef, InjectionToken, Inject, Injector, ViewContainerRef, ChangeDetectionStrategy, inject } from '@angular/core';
26
+ import { Injectable, Directive, Optional, Input, Component, ElementRef, ViewChild, ViewEncapsulation, EventEmitter, Output, Pipe, NgModule, CUSTOM_ELEMENTS_SCHEMA, defineInjectable, inject, HostListener, ChangeDetectorRef, InjectionToken, Inject, Injector, ViewContainerRef, ChangeDetectionStrategy } from '@angular/core';
27
27
  import { ActivatedRoute, Router, NavigationStart, NavigationEnd, RouterModule } from '@angular/router';
28
28
  import { createFeatureSelector, createSelector, select, Store } from '@ngrx/store';
29
29
  import { skip, first, filter } from 'rxjs/operators';
@@ -5941,7 +5941,7 @@ var AdvancedTableSearchComponent = /** @class */ (function (_super) {
5941
5941
  */
5942
5942
  function (event) {
5943
5943
  return __awaiter(this, void 0, void 0, function () {
5944
- var query, queryParams_3;
5944
+ var query, queryParams_3, queryParams;
5945
5945
  return __generator(this, function (_a) {
5946
5946
  switch (_a.label) {
5947
5947
  case 0:
@@ -5971,7 +5971,9 @@ var AdvancedTableSearchComponent = /** @class */ (function (_super) {
5971
5971
  })];
5972
5972
  }
5973
5973
  if (this.table.query && query && query.getParams()['$filter']) {
5974
- this.table.query.setParam('$filter', query.getParams()['$filter']);
5974
+ queryParams = Object.assign({}, this.table.query.getParams(), query.getParams());
5975
+ query.setQueryParams(queryParams);
5976
+ this.table.query = query;
5975
5977
  }
5976
5978
  else {
5977
5979
  this.table.query = query;