First content item at root should not have special meaning when routing (#18016)

This commit is contained in:
Kenn Jacobsen
2025-01-20 07:26:38 +01:00
committed by GitHub
parent cd5470f779
commit 0d61890999

View File

@@ -736,8 +736,6 @@ public class DocumentUrlService : IDocumentUrlService
if (considerFirstLevelAsRoot)
{
yield return rootKeys.First();
foreach (Guid rootKey in rootKeys)
{
if (isDraft is false && IsContentPublished(rootKey, culture) is false)