Revision cb9801c1
Added by Katja Luther over 5 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/controller/OccurrencePortalController.java | ||
---|---|---|
57 | 57 |
"derivedFrom.originals.determinations.taxon", |
58 | 58 |
"derivedFrom.originals.gatheringEvent.exactLocation.$", |
59 | 59 |
"derivedFrom.gatheringEvent.exactLocation.$", |
60 |
"derivationEvents.derivatives.$", |
|
60 | 61 |
"specimenTypeDesignations.*", |
61 | 62 |
"specimenTypeDesignations.citation.*", |
62 | 63 |
"specimenTypeDesignations.homotypicalGroup.*", |
... | ... | |
66 | 67 |
"gatheringEvent.$", |
67 | 68 |
"gatheringEvent.exactLocation.referenceSystem", // TODO implement auto initializer? |
68 | 69 |
"gatheringEvent.collectingAreas", |
69 |
"descriptions" |
|
70 |
"annotations", |
|
71 |
"descriptions", |
|
72 |
"collection.institute.$" |
|
70 | 73 |
}); |
71 | 74 |
|
72 | 75 |
@Autowired |
... | ... | |
125 | 128 |
if(sob instanceof DerivedUnit){ |
126 | 129 |
DerivedUnit derivedUnit = (DerivedUnit) sob; |
127 | 130 |
if(derivedUnit.isPublish()){ |
128 |
return service.assemblePreservedSpecimenDTO(derivedUnit); |
|
131 |
PreservedSpecimenDTO dto = service.assemblePreservedSpecimenDTO(derivedUnit); |
|
132 |
return dto; |
|
129 | 133 |
} |
130 | 134 |
} |
131 | 135 |
return null; |
Also available in: Unified diff
ref #7755: provide all data for specimen pages