diff --git a/src/app/core/data/data.service.ts b/src/app/core/data/data.service.ts index 4e66c7673e..2c21e94c66 100644 --- a/src/app/core/data/data.service.ts +++ b/src/app/core/data/data.service.ts @@ -165,6 +165,11 @@ export abstract class DataService { return this.rdbService.buildSingle(href); } + /** + * Return object search endpoint by given search method + * + * @param searchMethod The search method for the object + */ protected getSearchEndpoint(searchMethod: string): Observable { return this.halService.getEndpoint(`${this.linkPath}/search`).pipe( filter((href: string) => isNotEmpty(href)),