mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00
[DS-2996] Fix retrieval of hierarchical of communities from a collection.
This commit is contained in:
@@ -299,7 +299,7 @@ public class BundleServiceImpl extends DSpaceObjectServiceImpl<Bundle> implement
|
||||
collection = item.getOwningCollection();
|
||||
if (collection != null)
|
||||
{
|
||||
community = collection.getCommunities().iterator().next();
|
||||
community = collection.getCommunities().get(0);
|
||||
}
|
||||
}
|
||||
switch (action)
|
||||
|
Reference in New Issue
Block a user