ref #6789: change sensu and err sec
authorKatja Luther <k.luther@bgbm.org>
Sun, 9 Jul 2017 22:44:07 +0000 (00:44 +0200)
committerKatja Luther <k.luther@bgbm.org>
Mon, 10 Jul 2017 10:01:03 +0000 (12:01 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/taxon/TaxonRelationshipDetailElement.java

index 8fa27dcbfb515d106a3e03ae2a3ddc53be19377e..4ec672132fe5811b23913d1eff383a6043bc4edd 100644 (file)
@@ -90,12 +90,12 @@ public class TaxonRelationshipDetailElement extends AbstractCdmDetailElement<Tax
 
                sensuReference = formFactory.createSelectionElement(Reference.class,
                        getConversationHolder(), formElement, "Sensu",
-                       getEntity().getCitation(), EntitySelectionElement.ALL,
+                       taxon.getSec(), EntitySelectionElement.ALL,
                        style);
 
                text_sensu_microreference = formFactory.createTextWithLabelElement(
                                formElement, "Detail",
-                               getEntity().getCitationMicroReference(),null,
+                               taxon.getSecMicroReference(),null,
                                SWT.WRAP);
 
                
@@ -107,12 +107,12 @@ public class TaxonRelationshipDetailElement extends AbstractCdmDetailElement<Tax
                        
                secReference = formFactory.createSelectionElement(Reference.class,
                                getConversationHolder(), formElement, "Err. Secundum",
-                               taxon.getSec(), EntitySelectionElement.ALL,
+                               entity.getCitation(), EntitySelectionElement.ALL,
                                style);
        
                text_secundum_microreference = formFactory.createTextWithLabelElement(
                    formElement, "Detail",
-                   taxon.getSecMicroReference(),null,
+                   entity.getCitationMicroReference(),null,
                    SWT.WRAP);
                checkbox_doubtful = formFactory.createCheckbox(formElement,
                                "Misappl. doubtful", entity.isDoubtful(), style);