Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structure 'max levels' ignored-ish when re-ordering entries #4279

Closed
SayChi opened this issue May 17, 2019 · 1 comment
Closed

Structure 'max levels' ignored-ish when re-ordering entries #4279

SayChi opened this issue May 17, 2019 · 1 comment

Comments

@SayChi
Copy link

SayChi commented May 17, 2019

Description

When max levels is set on a structure, it is not properly taken into consideration when editing an entry to change its parent.

Steps to reproduce

  1. Create a strucure with max levels = 2
  2. Create entry a
  3. Create entry b with parent a
  4. Create entry c without parent
  5. Edit entry a to change its parent to c

This results in the strucure showing:
c -> a -> b

Additional info

  • Craft version: 3.1.27
  • PHP version: 7.1.29
  • Database driver & version: MySQL 5.5.60
@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants