From 8b72362bb4215acc8a0766257e19276d68b352e5 Mon Sep 17 00:00:00 2001 From: Oleksandr Vayda Date: Thu, 23 Sep 2021 13:15:40 +0200 Subject: [PATCH] issue #138 Merge "alwaysOnFilters" with the "defaultSearchParams.alwaysOnFilter" --- .../common/models/search-query/search-data-source.model.ts | 5 ----- .../overview/history/ds-overview-history.page.component.ts | 6 ++++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/ui/projects/spline-utils/main/src/common/models/search-query/search-data-source.model.ts b/ui/projects/spline-utils/main/src/common/models/search-query/search-data-source.model.ts index ef11d13a..4837aaeb 100644 --- a/ui/projects/spline-utils/main/src/common/models/search-query/search-data-source.model.ts +++ b/ui/projects/spline-utils/main/src/common/models/search-query/search-data-source.model.ts @@ -34,7 +34,6 @@ import SearchParams = SearchQuery.SearchParams; export type SearchDataSourceConfig = { defaultSearchParams: Partial> - alwaysOnFilters: TFilter } export abstract class SearchDataSource isInitialized && !!dataSourceInfo), map(([, dataSourceInfo]) => ({ - alwaysOnFilters: { - dataSourceUri: dataSourceInfo.uri + defaultSearchParams: { + alwaysOnFilter: { + dataSourceUri: dataSourceInfo.uri + } } })))