diff --git a/dspace-api/src/main/java/org/dspace/content/RelationshipMetadataServiceImpl.java b/dspace-api/src/main/java/org/dspace/content/RelationshipMetadataServiceImpl.java index 829a5e122e..fc6f604d49 100644 --- a/dspace-api/src/main/java/org/dspace/content/RelationshipMetadataServiceImpl.java +++ b/dspace-api/src/main/java/org/dspace/content/RelationshipMetadataServiceImpl.java @@ -91,14 +91,14 @@ public class RelationshipMetadataServiceImpl implements RelationshipMetadataServ otherItem = relationship.getRightItem(); relationName = relationship.getRelationshipType().getLeftwardLabel(); place = relationship.getLeftPlace(); - isLeftwards = false; //if the current item is stored on the left, + isLeftwards = true; //if the current item is stored on the left, // the name variant is retrieved from the rightwards label } else if (StringUtils.equals(relationshipType.getRightType().getLabel(), entityType)) { hashMaps = virtualMetadataPopulator.getMap().get(relationshipType.getRightwardLabel()); otherItem = relationship.getLeftItem(); relationName = relationship.getRelationshipType().getRightwardLabel(); place = relationship.getRightPlace(); - isLeftwards = true; //if the current item is stored on the right, + isLeftwards = false; //if the current item is stored on the right, // the name variant is retrieved from the leftwards label } else { //No virtual metadata can be created