mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 22:13:02 +00:00
Merge remote-tracking branch 'remotes/origin/master' into submission
# Conflicts: # src/app/core/cache/models/normalized-object-factory.ts # src/app/core/cache/response.models.ts # src/app/core/data/registry-metadatafields-response-parsing.service.ts # src/app/core/data/registry-metadataschemas-response-parsing.service.ts # src/app/core/data/request.models.ts # src/app/core/data/request.service.ts # src/app/core/shared/collection.model.ts # src/app/core/shared/dspace-object.model.ts # src/app/core/shared/resource-type.ts
This commit is contained in:
@@ -19,7 +19,7 @@ export class Collection extends DSpaceObject {
|
||||
* Corresponds to the metadata field dc.description
|
||||
*/
|
||||
get introductoryText(): string {
|
||||
return this.findMetadata('dc.description');
|
||||
return this.firstMetadataValue('dc.description');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -27,7 +27,7 @@ export class Collection extends DSpaceObject {
|
||||
* Corresponds to the metadata field dc.description.abstract
|
||||
*/
|
||||
get shortDescription(): string {
|
||||
return this.findMetadata('dc.description.abstract');
|
||||
return this.firstMetadataValue('dc.description.abstract');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -35,7 +35,7 @@ export class Collection extends DSpaceObject {
|
||||
* Corresponds to the metadata field dc.rights
|
||||
*/
|
||||
get copyrightText(): string {
|
||||
return this.findMetadata('dc.rights');
|
||||
return this.firstMetadataValue('dc.rights');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,7 +43,7 @@ export class Collection extends DSpaceObject {
|
||||
* Corresponds to the metadata field dc.rights.license
|
||||
*/
|
||||
get dcLicense(): string {
|
||||
return this.findMetadata('dc.rights.license');
|
||||
return this.firstMetadataValue('dc.rights.license');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -51,7 +51,7 @@ export class Collection extends DSpaceObject {
|
||||
* Corresponds to the metadata field dc.description.tableofcontents
|
||||
*/
|
||||
get sidebarText(): string {
|
||||
return this.findMetadata('dc.description.tableofcontents');
|
||||
return this.firstMetadataValue('dc.description.tableofcontents');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user