Skip to content

Commit

Permalink
Merged in DSC-1222 (pull request DSpace#793)
Browse files Browse the repository at this point in the history
[DSC-1222] fix orgunits names not showing up
  • Loading branch information
Andrea Barbasso committed Aug 28, 2023
2 parents 85cde27 + 898f474 commit 97fda56
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 97fda56

Please sign in to comment.