mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
[CSTPER-222] handle metadata reading for communities and collections
Removed handle field and the setter from community and collection models.
This commit is contained in:
@@ -109,7 +109,6 @@ describe('SearchFormComponent', () => {
|
||||
|
||||
export const objects: DSpaceObject[] = [
|
||||
Object.assign(new Community(), {
|
||||
handle: '10673/11',
|
||||
logo: {
|
||||
self: {
|
||||
_isScalar: true,
|
||||
@@ -162,12 +161,17 @@ export const objects: DSpaceObject[] = [
|
||||
language: null,
|
||||
value: 'OR2017 - Demonstration'
|
||||
}
|
||||
]
|
||||
],
|
||||
'dc.identifier.uri': [
|
||||
{
|
||||
language: null,
|
||||
value: 'http://localhost:4000/handle/10673/11'
|
||||
}
|
||||
],
|
||||
}
|
||||
}),
|
||||
Object.assign(new Community(),
|
||||
{
|
||||
handle: '10673/1',
|
||||
logo: {
|
||||
self: {
|
||||
_isScalar: true,
|
||||
@@ -220,7 +224,13 @@ export const objects: DSpaceObject[] = [
|
||||
language: null,
|
||||
value: 'Sample Community'
|
||||
}
|
||||
]
|
||||
],
|
||||
'dc.identifier.uri': [
|
||||
{
|
||||
language: null,
|
||||
value: 'http://localhost:4000/handle/10673/1'
|
||||
}
|
||||
],
|
||||
}
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user