Project

General

Profile

« Previous | Next » 

Revision 046d6228

Added by Andreas Müller about 2 years ago

fix #10089 final fixes for TypeDesignationSet formatting ordered by type status (cont.)

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/cdmLight/CdmLightClassificationExport.java
26 26
import org.springframework.stereotype.Component;
27 27

  
28 28
import eu.etaxonomy.cdm.api.service.dto.CondensedDistribution;
29
import eu.etaxonomy.cdm.api.service.name.TypeDesignationSetFormatter;
29
import eu.etaxonomy.cdm.api.service.name.TypeDesignationSetComparator;
30 30
import eu.etaxonomy.cdm.api.service.name.TypeDesignationSetContainer;
31
import eu.etaxonomy.cdm.api.service.name.TypeDesignationSetFormatter;
31 32
import eu.etaxonomy.cdm.common.CdmUtils;
32 33
import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
33 34
import eu.etaxonomy.cdm.compare.name.TypeComparator;
......
1274 1275
                    specimenTypeDesignations.add(HibernateProxyHelper.deproxy(typeDesignation, NameTypeDesignation.class));
1275 1276
                }
1276 1277
            }
1277
            TypeDesignationSetContainer manager = new TypeDesignationSetContainer(specimenTypeDesignations, name);
1278
            TypeDesignationSetContainer manager = new TypeDesignationSetContainer(specimenTypeDesignations, name, TypeDesignationSetComparator.ORDER_BY.TYPE_STATUS);
1278 1279
            HTMLTagRules rules = new HTMLTagRules();
1279 1280
            rules.addRule(TagEnum.name, "i");
1280 1281
            csvLine[table.getIndex(CdmLightExportTable.TYPE_SPECIMEN)] = manager.print(false, false, false, rules);

Also available in: Unified diff