diff --git a/frontend/src/app/services/lighthouse.service.ts b/frontend/src/app/services/lighthouse.service.ts index a8d61e75..6c2f3ba1 100644 --- a/frontend/src/app/services/lighthouse.service.ts +++ b/frontend/src/app/services/lighthouse.service.ts @@ -45,6 +45,10 @@ export class LighthouseService { } else { filter.searchAfter = [] } + if(environment.environment_desktop){ + filter.app = "fastenhealth.desktop" + } + const endpointUrl = new URL(`${environment.lighthouse_api_endpoint_base}/search`); return this._httpClient.post(endpointUrl.toString(), filter) .pipe( diff --git a/frontend/src/app/services/medical-sources-filter.service.ts b/frontend/src/app/services/medical-sources-filter.service.ts index 3d95a066..56fd0e37 100644 --- a/frontend/src/app/services/medical-sources-filter.service.ts +++ b/frontend/src/app/services/medical-sources-filter.service.ts @@ -19,6 +19,8 @@ export class MedicalSourcesFilter { searchAfter: string | string[] = ''; fields: string[] = []; //specify the fields to return. if null or empty list, return all. + + app?: string }