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 }); }