[DS-2996] Fix retrieval of hierarchical of communities from a collection.

This commit is contained in:
KevinVdV
2016-02-24 12:47:49 +01:00
parent f495d3d8ee
commit e325a84b13
20 changed files with 65 additions and 38 deletions

View File

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