consider the transformative agreement text when merging results

This commit is contained in:
Claudio Atzori 2024-07-16 10:38:50 +02:00
parent 38f8ed27fd
commit 5aa7847ea6
1 changed files with 4 additions and 0 deletions

View File

@ -464,6 +464,10 @@ public class MergeUtils {
merge.setIsInDiamondJournal(booleanOR(merge.getIsInDiamondJournal(), enrich.getIsInDiamondJournal()));
merge.setPubliclyFunded(booleanOR(merge.getPubliclyFunded(), enrich.getPubliclyFunded()));
if (StringUtils.isBlank(merge.getTransformativeAgreement())) {
merge.setTransformativeAgreement(enrich.getTransformativeAgreement());
}
return merge;
}