ref #7760 Show name authors for type designations
authorPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 14 Sep 2018 11:59:28 +0000 (13:59 +0200)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 14 Sep 2018 11:59:37 +0000 (13:59 +0200)
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/OccurrenceServiceImpl.java

index 0337a6b72df91aedfdc8019c7b7532449eee1e73..8aeaa322a03aa2f54097272bf6ed24526b55480e 100644 (file)
@@ -593,7 +593,7 @@ public class OccurrenceServiceImpl extends IdentifiableServiceBase<SpecimenOrObs
             Set<TaxonName> typifiedNames = specimenTypeDesignation.getTypifiedNames();
             List<String> typedTaxaNames = new ArrayList<>();
             for (TaxonName taxonName : typifiedNames) {
-                typedTaxaNames.add(taxonName.getNameCache());
+                typedTaxaNames.add(taxonName.getTitleCache());
             }
             preservedSpecimenDTO.addTypes(typeStatus!=null?typeStatus.getLabel():"", typedTaxaNames);
         }