Revision 5a8a1f14
Added by Katja Luther over 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java | ||
---|---|---|
93 | 93 |
protected String getTitle(Reference cdmObject) { |
94 | 94 |
if(cdmObject == null){ |
95 | 95 |
return ""; |
96 |
}else if(cdmObject.getAuthorship() == null){ |
|
97 |
return super.getTitle(cdmObject); |
|
98 | 96 |
}else{ |
99 |
return DefaultReferenceCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorship().getTitleCache());
|
|
97 |
return super.getTitle(cdmObject);
|
|
100 | 98 |
} |
99 |
// }else{ |
|
100 |
// return DefaultReferenceCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorship().getTitleCache()); |
|
101 |
// } |
|
101 | 102 |
} |
102 | 103 |
|
103 | 104 |
/** {@inheritDoc} */ |
Also available in: Unified diff
fix #6129: remove additional authorstring in selection dialog search field