275 |
275 |
orthographicVariantNamePagingProvider.getRestrictions().remove(orthographicCorrectionRestriction);
|
276 |
276 |
} else {
|
277 |
277 |
if(orthographicCorrectionRestriction == null){
|
278 |
|
orthographicCorrectionRestriction = new Restriction<>("nomenclaturalReference", Operator.AND, null, nomReference);
|
|
278 |
orthographicCorrectionRestriction = new Restriction<>("nomenclaturalSource.citation", Operator.AND, null, nomReference);
|
279 |
279 |
orthographicVariantNamePagingProvider.addRestriction(orthographicCorrectionRestriction);
|
280 |
280 |
} else{
|
281 |
281 |
orthographicCorrectionRestriction.setValues(Arrays.asList(nomReference));
|
... | ... | |
295 |
295 |
"annotations.*", // needed as log as we are using a table in FilterableAnnotationsField
|
296 |
296 |
"rank.vocabulary", // needed for comparing ranks
|
297 |
297 |
|
298 |
|
"nomenclaturalReference",
|
|
298 |
"nomenclaturalSource.citation",
|
299 |
299 |
|
300 |
300 |
"status.type",
|
301 |
301 |
"status.citation",
|
... | ... | |
310 |
310 |
"relationsToThisName.fromName.rank",
|
311 |
311 |
"relationsToThisName.fromName.combinationAuthorship",
|
312 |
312 |
"relationsToThisName.fromName.exCombinationAuthorship",
|
313 |
|
"relationsToThisName.fromName.nomenclaturalReference.authorship",
|
314 |
|
"relationsToThisName.fromName.nomenclaturalReference.inReference.authorship",
|
315 |
|
"relationsToThisName.fromName.nomenclaturalReference.inReference.inReference.inReference.authorship",
|
|
313 |
"relationsToThisName.fromName.nomenclaturalSource.citation.authorship",
|
|
314 |
"relationsToThisName.fromName.nomenclaturalSource.citation.inReference.authorship",
|
|
315 |
"relationsToThisName.fromName.nomenclaturalSource.citation.inReference.inReference.inReference.authorship",
|
316 |
316 |
"relationsToThisName.fromName.relationsToThisName",
|
317 |
317 |
"relationsToThisName.fromName.relationsFromThisName",
|
318 |
318 |
"relationsToThisName.citation",
|
... | ... | |
320 |
320 |
"homotypicalGroup.typifiedNames"
|
321 |
321 |
)
|
322 |
322 |
);
|
323 |
|
initStrategy.extend("nomenclaturalReference", ReferenceEllypsisFormatter.INIT_STRATEGY, false);
|
|
323 |
initStrategy.extend("nomenclaturalSource.citation", ReferenceEllypsisFormatter.INIT_STRATEGY, false);
|
324 |
324 |
initStrategy.extend("status.citation", ReferenceEllypsisFormatter.INIT_STRATEGY, false);
|
325 |
325 |
initStrategy.extend("relationsToThisName.citation", ReferenceEllypsisFormatter.INIT_STRATEGY, false);
|
326 |
326 |
|
... | ... | |
559 |
559 |
}
|
560 |
560 |
}
|
561 |
561 |
} else
|
562 |
|
if(boundTargetField.matchesPropertyIdPath("nomenclaturalReference")){
|
|
562 |
if(boundTargetField.matchesPropertyIdPath("nomenclaturalSource.citation")){
|
563 |
563 |
if(event.isCreateOrModifiedType()){
|
564 |
564 |
getCache().load(event.getEntity());
|
565 |
565 |
if(event.isCreatedType()){
|
ref #6581 adapt vaadin to new nomenclatural source handling