Enhance details view section titles
authorPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 18 Jan 2019 13:49:43 +0000 (14:49 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Fri, 18 Jan 2019 13:49:43 +0000 (14:49 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/AbstractCdmDetailSection.java

index 7e8b6e7d467ee083043e1a804d04f0afc56aebae..f1362eb1ffff63ca17a5c578e07432f4a1199923 100644 (file)
@@ -163,7 +163,10 @@ public abstract class AbstractCdmDetailSection<ENTITY>
                                }
                        }
                        if(CdmUtils.isBlank(label)){
-                               label =((IdentifiableEntity) getEntity()).generateTitle();
+                           label = ((IdentifiableEntity) getEntity()).getTitleCache();
+                       }
+                       if(CdmUtils.isBlank(label)){
+                           label = ((IdentifiableEntity) getEntity()).generateTitle();
                        }
                        title = ": " + label;
                }