Skip to content

[5.x]: Level indentation broken for entries with status label in structured sections #15214

@svale

Description

@svale

What happened?

Description

With 5.2 the indentation that visualise the structured hierarchy breaks for entries that have a status label.

Steps to reproduce

  1. Create a Structure section
  2. Add entries on different levels (with parent-child relation)
  3. Edit child entries without publishing changes (state: edited)
  4. See entries in the entries index

Expected behavior

The entries index should preserve the structured hierarchy
image

Actual behaviour

All entries are left aligned with no hierarchy
image

Craft CMS version

5.2.0

PHP version

8.2

Operating system and version

Craft Cloud and Ddev on MacOs 14.6

Database type and version

mariadb:10.11 and mysql 8

Image driver and version

No response

Installed plugins and versions

Plugin Version
Amazon S3 2.2.1
Asset Usage 4.0.0
CKEditor 4.1.0
Embedded Assets 5.1.0
Expanded Singles 3.0.0
Feed Me 6.1.0
Field Manager 4.0.0
Formie 3.0.0-beta.15
Hyper 2.0.2
Imager X 5.0.0
Many to Many 4.0.0
Retcon 3.1.1
SEO 5.0.4
Sprig 3.0.2
Vite 5.0.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions