Production release May 2024 [EXPLORE] #40
|
@ -100,11 +100,14 @@ export class SearchOrganizationsService {
|
||||||
|
|
||||||
result['title'] = {"name": '', "accessMode": ''};
|
result['title'] = {"name": '', "accessMode": ''};
|
||||||
|
|
||||||
if(resData.legalshortname) {
|
if(resData.legalname) {
|
||||||
result['title'].name = StringUtils.HTMLToString(String(resData.legalshortname));
|
|
||||||
}
|
|
||||||
if(!result['title'].name || result['title'].name == '') {
|
|
||||||
result['title'].name = StringUtils.HTMLToString(String(resData.legalname));
|
result['title'].name = StringUtils.HTMLToString(String(resData.legalname));
|
||||||
|
} else {
|
||||||
|
result['title'].name = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
if(resData.legalshortname) {
|
||||||
|
result['acronym'] = StringUtils.HTMLToString(String(resData.legalshortname));
|
||||||
}
|
}
|
||||||
|
|
||||||
//result['title'].url = OpenaireProperties.getsearchLinkToOrganization();
|
//result['title'].url = OpenaireProperties.getsearchLinkToOrganization();
|
||||||
|
|
Loading…
Reference in New Issue