fix #6129: remove additional authorstring in selection dialog search field
authorKatja Luther <k.luther@bgbm.org>
Mon, 17 Oct 2016 11:15:46 +0000 (13:15 +0200)
committerKatja Luther <k.luther@bgbm.org>
Mon, 17 Oct 2016 11:15:46 +0000 (13:15 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java

index 805a5e2ff5b07542180fc1f0bc49bdd6900fd0aa..187a6808791bee7f7a1a6e41ef282140f38f823b 100644 (file)
@@ -93,11 +93,12 @@ public class ReferenceSelectionDialog extends AbstractFilteredCdmResourceSelecti
        protected String getTitle(Reference cdmObject) {
                if(cdmObject == null){
                        return "";
-               }else if(cdmObject.getAuthorship() == null){
-                       return super.getTitle(cdmObject);
                }else{
-                       return DefaultReferenceCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorship().getTitleCache());
+                       return super.getTitle(cdmObject);
                }
+//             }else{
+//                     return DefaultReferenceCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorship().getTitleCache());
+//             }
        }
 
        /** {@inheritDoc} */