diff --git a/searchPages/advanced/advancedSearchResearchResults.component.ts b/searchPages/advanced/advancedSearchResearchResults.component.ts index 7ea3cdcc..90cb8ab5 100644 --- a/searchPages/advanced/advancedSearchResearchResults.component.ts +++ b/searchPages/advanced/advancedSearchResearchResults.component.ts @@ -201,7 +201,7 @@ export class AdvancedSearchResearchResultsComponent { console.error(this.getEntityName(this.resultType, true, true)+" advanced Search Page: "+message, error); } - private getEntityName (entityType:string, plural:boolean, full:boolean): string { + public getEntityName (entityType:string, plural:boolean, full:boolean): string { if(entityType == "publication") { return "publication" + (plural ? "s" : ""); } else if(entityType == "dataset") { diff --git a/searchPages/simple/searchResearchResults.component.ts b/searchPages/simple/searchResearchResults.component.ts index a5fcd310..22c65ebf 100644 --- a/searchPages/simple/searchResearchResults.component.ts +++ b/searchPages/simple/searchResearchResults.component.ts @@ -239,7 +239,7 @@ export class SearchResearchResultsComponent { console.error(this.getEntityName(this.resultType, true, true)+" simple Search Page (SearchResearchResultsComponent): "+message, error); } - private getEntityName (entityType:string, plural:boolean, full:boolean): string { + public getEntityName (entityType:string, plural:boolean, full:boolean): string { if(entityType == "publication") { return "publication" + (plural ? "s" : ""); } else if(entityType == "dataset") {