Project

General

Profile

« Previous | Next » 

Revision 27ebde42

Added by Katja Luther over 6 years ago

for GBIF search use Iso3166_A2 of the country

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/dataimport/e4/SpecimenSearchWizardPageE4.java
46 46
     * Returns an {@link OccurenceQuery} filled with the parameters defined in this wizard page
47 47
     * @return
48 48
     */
49
    public OccurenceQuery getQuery() {
49
    public OccurenceQuery getQuery(boolean biocase) {
50 50
        String accessionNumber = specimenSearchController.getAccessionNumber();
51 51
        String collector = specimenSearchController.getCollector();
52 52
        String collectorsNumber = specimenSearchController.getCollectorNumber();
53
        String country = specimenSearchController.getCountry();
53
        String country = specimenSearchController.getCountry(biocase);
54 54
        Calendar dateFrom = specimenSearchController.getDateFrom();
55 55
        Calendar dateTo = specimenSearchController.getDateTo();
56 56
        String herbarium = specimenSearchController.getHerbarium();

Also available in: Unified diff