Project

General

Profile

« Previous | Next » 

Revision 137d0ad0

Added by Andreas Müller over 3 years ago

ref #9280 adapt TaxEditor to new Term.getLabel()

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/search/facet/term/TermSearchResult.java
35 35
        content.localize(new TermRepresentation_L10n());
36 36
        TermType termType = content.getTermType();
37 37
        if (content instanceof TermDto){
38
            facets.add(new Facet(((TermDto)content).getVocRepresentation_L10n(), termType!=null?termType.getMessage():null));
38
            facets.add(new Facet(((TermDto)content).getVocRepresentation_L10n(), termType!=null?termType.getLabel():null));
39 39
        }else{
40
            facets.add(new Facet(content.getRepresentation_L10n(), termType!=null?termType.getMessage():null));
40
            facets.add(new Facet(content.getRepresentation_L10n(), termType!=null?termType.getLabel():null));
41 41
        }
42 42
        return facets;
43 43
    }

Also available in: Unified diff