mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
Revert previous commit
This commit is contained in:
@@ -91,14 +91,14 @@ public class RelationshipMetadataServiceImpl implements RelationshipMetadataServ
|
|||||||
otherItem = relationship.getRightItem();
|
otherItem = relationship.getRightItem();
|
||||||
relationName = relationship.getRelationshipType().getLeftwardLabel();
|
relationName = relationship.getRelationshipType().getLeftwardLabel();
|
||||||
place = relationship.getLeftPlace();
|
place = relationship.getLeftPlace();
|
||||||
isLeftwards = true; //if the current item is stored on the left,
|
isLeftwards = false; //if the current item is stored on the left,
|
||||||
// the name variant is retrieved from the rightwards label
|
// the name variant is retrieved from the rightwards label
|
||||||
} else if (StringUtils.equals(relationshipType.getRightType().getLabel(), entityType)) {
|
} else if (StringUtils.equals(relationshipType.getRightType().getLabel(), entityType)) {
|
||||||
hashMaps = virtualMetadataPopulator.getMap().get(relationshipType.getRightwardLabel());
|
hashMaps = virtualMetadataPopulator.getMap().get(relationshipType.getRightwardLabel());
|
||||||
otherItem = relationship.getLeftItem();
|
otherItem = relationship.getLeftItem();
|
||||||
relationName = relationship.getRelationshipType().getRightwardLabel();
|
relationName = relationship.getRelationshipType().getRightwardLabel();
|
||||||
place = relationship.getRightPlace();
|
place = relationship.getRightPlace();
|
||||||
isLeftwards = false; //if the current item is stored on the right,
|
isLeftwards = true; //if the current item is stored on the right,
|
||||||
// the name variant is retrieved from the leftwards label
|
// the name variant is retrieved from the leftwards label
|
||||||
} else {
|
} else {
|
||||||
//No virtual metadata can be created
|
//No virtual metadata can be created
|
||||||
|
Reference in New Issue
Block a user