Project

General

Profile

Revision 99529ce3

ID99529ce3a728c183a107d3858d0f57529f7fe914
Parent 9cd8700e
Child 1fc42b13

Added by Andreas Kohlbecker over 2 years ago

ref #7566 using the COLLECTOR_TITLE for the collector combobox

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/util/TeamOrPersonBaseCaptionGenerator.java
48 48
     */
49 49
    protected String chooseTitle(T option) {
50 50
        switch(cacheType){
51
        case NOMENCLATURAL_TITLE:
52
            return option.getNomenclaturalTitle();
53
        case COLLECTOR_TITLE:
54
            // return option.getCollectorTitle(); // enable once #4311 is solved
55
        case BIBLIOGRAPHIC_TITLE:
56
        default:
57
            return null;
51
            case NOMENCLATURAL_TITLE:
52
                return option.getNomenclaturalTitle();
53
            case COLLECTOR_TITLE:
54
                // return option.getCollectorTitle(); // enable once #4311 is solved
55
            case BIBLIOGRAPHIC_TITLE:
56
            default:
57
                return null;
58 58
        }
59 59
    }
60 60
}
src/main/java/eu/etaxonomy/cdm/vaadin/view/name/SpecimenTypeDesignationWorkingsetPopupEditor.java
167 167
        distanceToGroundMinMax.getMinField().setConverter(new DoubleConverter());
168 168

  
169 169
        row++;
170
        collectorField = new TeamOrPersonField("Collector", TeamOrPersonBaseCaptionGenerator.CacheType.NOMENCLATURAL_TITLE);
170
        collectorField = new TeamOrPersonField("Collector", TeamOrPersonBaseCaptionGenerator.CacheType.COLLECTOR_TITLE);
171 171
        addField(collectorField, "collector", 0, row, 2, row);
172 172

  
173 173
        row++;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)