Added support for the leftItem and rightItem through the parameters

This commit is contained in:
Raf Ponsaerts
2018-12-14 17:20:45 +01:00
parent 8f81f28607
commit 4e51fd0c86
7 changed files with 37 additions and 18 deletions

View File

@@ -561,7 +561,8 @@ public abstract class DSpaceObjectServiceImpl<T extends DSpaceObject> implements
}
for (MetadataValue metadataValue : metadataValues) {
//Retrieve & store the place for each metadata value
if (StringUtils.startsWith(metadataValue.getAuthority(), "virtual::") && ((RelationshipMetadataValue) metadataValue).isUseForPlace()) {
if (StringUtils.startsWith(metadataValue.getAuthority(), "virtual::") &&
((RelationshipMetadataValue) metadataValue).isUseForPlace()) {
int mvPlace = getMetadataValuePlace(fieldToLastPlace, metadataValue);
metadataValue.setPlace(mvPlace);
String authority = metadataValue.getAuthority();