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:
Tim Donohue
2016-08-08 12:07:20 -05:00
committed by GitHub
20 changed files with 65 additions and 38 deletions

View File

@@ -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)