diff --git a/projects/common/src/fm/services/item.service.ts b/projects/common/src/fm/services/item.service.ts index 4924c55..8f643e0 100644 --- a/projects/common/src/fm/services/item.service.ts +++ b/projects/common/src/fm/services/item.service.ts @@ -94,9 +94,12 @@ export class ItemService { return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/items/${parentcode}/children`, { params: params }); } - getChildItemListCount(parentcode: string, itemType: string): Observable { + getChildItemListCount(parentcode: string, itemType: string,dataFilter?: any): Observable { var params = new HttpParams(); params = params.append("it", itemType); + if (dataFilter != null) { + params = params.append("df", JSON.stringify(dataFilter)); + } return this.httpClient.get(`${this.ApiEndpoint()}/api/v1/items/${parentcode}/children/count`, { params: params }); }