Revision c9fcb117
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/specimenSearch/SpecimenSearchController.java | ||
---|---|---|
154 | 154 |
* @see eu.etaxonomy.taxeditor.view.specimenSearch.SpecimenSearchComposite#getComboCountry() |
155 | 155 |
*/ |
156 | 156 |
public String getCountry() { |
157 |
return specimenSearchComposite.getTextCountry().getText(); |
|
157 |
String result = specimenSearchComposite.getTextCountry().getText(); |
|
158 |
if (result.contains("-")){ |
|
159 |
result = result.substring(4).trim(); |
|
160 |
} |
|
161 |
return result; |
|
162 |
|
|
158 | 163 |
// return specimenSearchComposite.getComboCountry().getItem(specimenSearchComposite.getComboCountry().getSelectionIndex()); |
159 | 164 |
} |
160 | 165 |
|
Also available in: Unified diff
add drop down for countries in specimen search wizard