Skip to content

Commit 802fa70

Browse files
authored
Notifications: Populate IncludeDescendants on ContentPublishedNotification when publishing branch (#20578)
Populate IncludeDescendants on ContentPublishedNotification when publishing branch.
1 parent ebf3977 commit 802fa70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Core/Services/ContentService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2199,7 +2199,7 @@ internal IEnumerable<PublishResult> SaveAndPublishBranch(
21992199
variesByCulture ? culturesPublished.IsCollectionEmpty() ? null : culturesPublished : ["*"],
22002200
null,
22012201
eventMessages));
2202-
scope.Notifications.Publish(new ContentPublishedNotification(publishedDocuments, eventMessages).WithState(notificationState));
2202+
scope.Notifications.Publish(new ContentPublishedNotification(publishedDocuments, eventMessages, true).WithState(notificationState));
22032203

22042204
scope.Complete();
22052205
}

0 commit comments

Comments
 (0)