Skip to content

All module slugs get reset on reorder. #2681

@Tom-revere

Description

@Tom-revere

Description

When using self-nested module and reordering, the slugs for any nested pages get reset when one of the nested items gets reordered.

Steps to reproduce

  1. Setup a self-nested module as per the Twill docs.
  2. Enable re-ordering
  3. Have a parent page and 2+ nested pages, such as below
    image
  4. As per the above image, manually change one of the nested slugs to something different to default
  5. Change the order of the nested pages

Expected result

The order of these pages should update, but the slugs should stay the same

Actual result

The order is updated, but the slugs reset back to their default, as per here:
image

Versions

Twill: 3.4.1

Laravel: 11.29.0

PHP: 8.3.4

MySQL: 8.0.30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions