minor
authorAndreas Müller <a.mueller@bgbm.org>
Sun, 28 May 2023 15:02:10 +0000 (17:02 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Sun, 28 May 2023 15:02:10 +0000 (17:02 +0200)
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/TaxonPortalController.java

index 63462e5941b48f5fe2f72542dc1965b4299f3d3c..def05f999476c19bbe50f13ad92d288b18ed5208 100644 (file)
@@ -328,6 +328,7 @@ public class TaxonPortalController extends TaxonController{
             @RequestParam(value = "doMedia", required = false) boolean doMedia,
             @RequestParam(value = "doTaxonNodes", required = false) boolean doTaxonNodes,
             @RequestParam(value = "doTaxonRelations", required = false) boolean doTaxonRelations,
+            //TODO annotation type filter
 
             //distributionInfoConfig
             @RequestParam(value = "part", required = false)  Set<InfoPart> partSet,
@@ -357,6 +358,7 @@ public class TaxonPortalController extends TaxonController{
         Taxon taxon = getCdmBaseInstance(Taxon.class, taxonUuid, response, getTaxonNodeInitStrategy().getPropertyPaths());
         TaxonNode subtree = getSubtreeOrError(subtreeUuid, taxonNodeService, response);
         taxon = checkExistsSubtreeAndAccess(taxon, subtree, NO_UNPUBLISHED, response);
+
         if (partSet == null) {
             partSet = EnumSet.of(InfoPart.condensedDistribution, InfoPart.mapUriParams, InfoPart.tree);
         }