mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 03:23:13 +00:00
Merge pull request #1319 from KevinVdV/DS-2996-fix-hiearchical-community-retrieval
[DS-2996] Fix retrieval of hierarchical of communities from a collection
This commit is contained in:
@@ -306,7 +306,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