Revision 44bee70c
Added by Katja Luther over 4 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java | ||
---|---|---|
160 | 160 |
uuids.add(UUID.fromString(uuidString)); |
161 | 161 |
} |
162 | 162 |
if (!uuids.isEmpty()){ |
163 |
model = CdmStore.getService(IReferenceService.class).getUuidAndTitleCacheForUUIDS(uuids); |
|
163 |
if (currentReference != null){ |
|
164 |
model = CdmStore.getService(IReferenceService.class).getUuidAndTitleCacheForUUIDS(uuids, currentReference.getType()); |
|
165 |
}else{ |
|
166 |
model = CdmStore.getService(IReferenceService.class).getUuidAndTitleCacheForUUIDS(uuids); |
|
167 |
} |
|
168 |
|
|
164 | 169 |
} |
165 | 170 |
|
166 | 171 |
} else if (isInReference && currentReference != null){ |
Also available in: Unified diff
fix #8034: preselected references should have correct type