From 587e484cf8995324b5abcd9cf68fb122a99129b6 Mon Sep 17 00:00:00 2001 From: Peter Bastiani Date: Tue, 21 Jan 2020 18:15:50 +0100 Subject: [PATCH] AW-835 Remove validFrom/To filter from interface. --- projects/common/src/fm/services/codelistitem.service.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/common/src/fm/services/codelistitem.service.ts b/projects/common/src/fm/services/codelistitem.service.ts index d75320c..841606e 100644 --- a/projects/common/src/fm/services/codelistitem.service.ts +++ b/projects/common/src/fm/services/codelistitem.service.ts @@ -15,11 +15,10 @@ export class CodeListItemService { return this.appConfig.getConfig("apiEndPoint"); } - getCodeListItems(codelist: string[], codegroup?: string, dataFilter?: any, onlyBetweenValidFromAndTo: boolean = true): Observable { + getCodeListItems(codelist: string[], codegroup?: string, dataFilter?: any): Observable { var params = new HttpParams(); params = params.append("cl", codelist.join(",")); if (codegroup) params = params.append("g", codegroup); - if (onlyBetweenValidFromAndTo) params = params.append("v", onlyBetweenValidFromAndTo); if (dataFilter) params = params.append("df", dataFilter); return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/codelistitems/`, { params: params }); }