Skip to content

Commit

Permalink
clear orcid queue before recalculating all option
Browse files Browse the repository at this point in the history
  • Loading branch information
floriangantner committed Dec 20, 2023
1 parent 6920c38 commit d8c31e3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ public void recalculateOrcidQueue(Context context, Item profileItem, OrcidEntity
create(context, profileItem, entities.next());
}
} else {
deleteByProfileItemAndRecordType(context, profileItem, entityType);
Iterator<Item> entities = findAllEntitiesLinkableWith(context, profileItem, entityType);
while (entities.hasNext()) {
create(context, profileItem, entities.next());
Expand Down

0 comments on commit d8c31e3

Please sign in to comment.