Skip to content

Commit

Permalink
[DSC-1222] fix orgunits names not showing up
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Barbasso committed Aug 28, 2023
1 parent 85cde27 commit 898f474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/breadcrumbs/dso-name.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class DSONameService {
}
return `${familyName}, ${givenName}`;
} else if (entityType === 'OrgUnit') {
return this.firstMetadataValue(object, dso, 'organization.legalName');
return this.firstMetadataValue(object, dso, 'organization.legalName') || this.firstMetadataValue(object, dso, 'dc.title');
}
return this.firstMetadataValue(object, dso, 'dc.title') || dso.name || this.translateService.instant('dso.name.untitled');
}
Expand Down

0 comments on commit 898f474

Please sign in to comment.