mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 02:24:18 +00:00
Implement tilted relationships to help improve performance
This commit is contained in:
@@ -44,7 +44,7 @@ public class EntityServiceImpl implements EntityService {
|
||||
public Entity findByItemId(Context context, UUID itemId, Integer limit, Integer offset) throws SQLException {
|
||||
|
||||
Item item = itemService.find(context, itemId);
|
||||
List<Relationship> relationshipList = relationshipService.findByItem(context, item, limit, offset);
|
||||
List<Relationship> relationshipList = relationshipService.findByItem(context, item, limit, offset, true);
|
||||
return new Entity(item, relationshipList);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user