adapting editor to modified DTO property
authorAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Mon, 25 Jan 2021 19:32:51 +0000 (20:32 +0100)
committerAndreas Kohlbecker <a.kohlbecker@bgbm.org>
Mon, 25 Jan 2021 19:32:51 +0000 (20:32 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/search/facet/occurrence/OccurrenceSearchResultComposite.java

index 2c4ac055dfd39f78827f115f2dab811f634b10eb..758c11c31f2a1bd1c6f03772abe3a78720792ef7 100644 (file)
@@ -30,8 +30,8 @@ public class OccurrenceSearchResultComposite extends CheckBoxSearchResultComposi
 
     private Label label;
 
-    public OccurrenceSearchResultComposite(OccurrenceSearchResult result, Composite parent, int style) {
         super(result, parent, style);
+        public OccurrenceSearchResultComposite(OccurrenceSearchResult result, Composite parent, int style) {
     }
 
     @Override
@@ -56,7 +56,7 @@ public class OccurrenceSearchResultComposite extends CheckBoxSearchResultComposi
                 parent.layout(true);
             }
         });
-        String representation_L10n_text = result.getContent().getCitation();
+        String representation_L10n_text = result.getContent().getSummaryLabel();
         if(representation_L10n_text!=null){
             lblDescription.setText(representation_L10n_text);
         }