FIX - Single suggestion should be marked as Suggested too (#20488)

This commit is contained in:
Pere Miquel Brull 2025-03-31 12:06:55 +02:00 committed by GitHub
parent c08273b4ad
commit 0aa8bde8af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -281,7 +281,7 @@ public class SuggestionRepository {
securityContext,
operationContext,
new ResourceContext<>(entityLink.getEntityType(), entity.getId(), null));
repository.patch(null, entity.getId(), user, patch);
repository.patch(null, entity.getId(), user, patch, ChangeSource.SUGGESTED);
suggestion.setStatus(SuggestionStatus.Accepted);
update(suggestion, user);
}