Hi, For some time now, I've been trying to get the parent Community for when reading the collections through the Rest API.
Today I finally went to the source code and found, in CollectionsResource.java the line Collection collection = new org.dspace.rest.common.Collection(dspaceCollection, servletContext, *null*, context, limit, offset); I wish to know why the parameter expand is set to null. I changed to expand (a string passed to the function getCollections) and it seems to work as expected. As I think no code is made without a reason, I feel insecure to let it modified without further notice or advice. Any help is welcome. Thanks, Ricardo -- All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/35842b5e-f6a9-4d40-944b-32035503f47fn%40googlegroups.com.
