Project

General

Profile

« Previous | Next » 

Revision 7fcb1960

Added by Patrick Plitzner almost 6 years ago

ref #7362 Add "Load Details" button

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/webimport/termimport/parser/SuggestParser.java
36 36
                String uri= ParserUtil.parseUri(jsonObject);
37 37
                String sourceTerminology = ParserUtil.parseTerminology(jsonObject);
38 38
                String request = new RequestTerm(uri, sourceTerminology).request();
39
                //load term description
40
                String description = TermParser.parseSingleTerm(request).getDescription();
41 39
                OntologyTermWrapper wrapper = new OntologyTermWrapper(uri, label, sourceTerminology);
42
                wrapper.setDescription(description);
43 40
                wrapperList.add(wrapper);
44 41
            }
45 42
        } catch (JSONException jsonException) {

Also available in: Unified diff