Skip to content

reorderSiblings method doesn't update softdeleted node's position #255

@snekku-dev

Description

@snekku-dev

Hello, I am trying to manage a tree that includes softdeleted nodes and I noticed whenever I update a node's position all the non-softedeleted nodes correctly increment/decrement their position, but the softdeleted nodes do not, causing certain group of nodes to end up with the same position and messing up the order whenever a new position update is made.

The solution that I think would work would be to include trashed nodes in every scope/builder that. Alternatively I would set the method as protected so that I could override it in the extended model

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions